Moved delete logo option higher for nicer layout
This commit is contained in:
parent
303388e1f5
commit
d5f8e93d7c
1 changed files with 11 additions and 7 deletions
|
@ -1,8 +1,16 @@
|
||||||
<div class="form-group {{ $errors->has($logoVariable) ? 'has-error' : '' }}">
|
<div class="form-group {{ $errors->has($logoVariable) ? 'has-error' : '' }}">
|
||||||
<label class="col-md-3" for="{{ $logoVariable }}">
|
<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">
|
<label class="btn btn-default">
|
||||||
{{ trans('button.select_file') }}
|
{{ trans('button.select_file') }}
|
||||||
<input type="file" name="{{ $logoVariable }}" class="js-uploadFile" id="{{ $logoId }}"
|
<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;">
|
<img id="{{ $logoId }}-imagePreview" style="max-width: 500px; max-height: 50px;">
|
||||||
</div>
|
</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>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue