Moved delete logo option higher for nicer layout

This commit is contained in:
snipe 2020-09-15 19:52:34 -07:00
parent 303388e1f5
commit d5f8e93d7c

View file

@ -1,8 +1,16 @@
<div class="form-group {{ $errors->has($logoVariable) ? 'has-error' : '' }}">
<label class="col-md-3" for="{{ $logoVariable }}">
{{ Form::label($logoVariable, $logoLabel) }}</label>
{{ Form::label($logoVariable, $logoLabel) }}</label>
@if ($setting->$logoVariable!='')
<div class="col-md-9">
{{ Form::checkbox($logoClearVariable, '1', Request::old($logoClearVariable),array('class' => 'minimal')) }} Remove current {{ str_replace('_', ' ', $logoVariable) }} image
</div>
@endif
<div class="col-md-9 col-md-offset-3">
<div class="col-md-9">
<label class="btn btn-default">
{{ trans('button.select_file') }}
<input type="file" name="{{ $logoVariable }}" class="js-uploadFile" id="{{ $logoId }}"
@ -25,9 +33,5 @@
<img id="{{ $logoId }}-imagePreview" style="max-width: 500px; max-height: 50px;">
</div>
@if ($setting->$logoVariable!='')
<div class="col-md-9 col-md-offset-3">
{{ Form::checkbox($logoClearVariable, '1', Request::old($logoClearVariable),array('class' => 'minimal')) }} Remove current {{ str_replace('_', ' ', $logoVariable) }} image
</div>
@endif
</div>