mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Moved delete logo option higher for nicer layout
This commit is contained in:
parent
303388e1f5
commit
d5f8e93d7c
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue