Fixed labels labels (wha?)
Wrong HTML labels for some fields in the Settings > Labels page. Originally https://github.com/snipe/snipe-it/pull/6809 by @timothyfarmer but it was made against the wrong branch
This commit is contained in:
parent
79f4f46e3a
commit
6c71e72dcd
1 changed files with 8 additions and 8 deletions
|
@ -50,9 +50,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('labels_width') ? 'error' : '' }}">
|
||||
<div class="form-group {{ $errors->has('labels_fontsize') ? 'error' : '' }}">
|
||||
<div class="col-md-3">
|
||||
{{ Form::label('labels_width', trans('admin/settings/general.labels_fontsize')) }}
|
||||
{{ Form::label('labels_fontsize', trans('admin/settings/general.labels_fontsize')) }}
|
||||
</div>
|
||||
<div class="col-md-2 form-group">
|
||||
<div class="input-group">
|
||||
|
@ -87,9 +87,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('labels_width') ? 'error' : '' }}">
|
||||
<div class="form-group {{ $errors->has('labels_display_sgutter') ? 'error' : '' }}">
|
||||
<div class="col-md-3">
|
||||
{{ Form::label('labels_width', trans('admin/settings/general.label_gutters')) }}
|
||||
{{ Form::label('labels_display_sgutter', trans('admin/settings/general.label_gutters')) }}
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<div class="input-group">
|
||||
|
@ -109,9 +109,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('labels_width') ? 'error' : '' }}">
|
||||
<div class="form-group {{ $errors->has('labels_pmargin_top') ? 'error' : '' }}">
|
||||
<div class="col-md-3">
|
||||
{{ Form::label('labels_width', trans('admin/settings/general.page_padding')) }}
|
||||
{{ Form::label('labels_pmargin_top', trans('admin/settings/general.page_padding')) }}
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<div class="input-group" style="margin-bottom: 15px;">
|
||||
|
@ -139,9 +139,9 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group {{ $errors->has('labels_pageheight') ? 'error' : '' }}">
|
||||
<div class="form-group {{ (($errors->has('labels_pageheight') || $errors->has('labels_pagewidth')) ? 'error' : '' }}">
|
||||
<div class="col-md-3">
|
||||
{{ Form::label('labels_width', trans('admin/settings/general.page_dimensions')) }}
|
||||
{{ Form::label('labels_pagewidth', trans('admin/settings/general.page_dimensions')) }}
|
||||
</div>
|
||||
<div class="col-md-3 form-group">
|
||||
<div class="input-group">
|
||||
|
|
Loading…
Add table
Reference in a new issue