mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 16:14:18 -08:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
949a88e560
|
@ -883,7 +883,7 @@ class SettingsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($setting->save()) {
|
if ($setting->save()) {
|
||||||
return redirect()->route('settings.index')
|
return redirect()->route('settings.labels.index')
|
||||||
->with('success', trans('admin/settings/message.update.success'));
|
->with('success', trans('admin/settings/message.update.success'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,17 +40,21 @@
|
||||||
<div class="col-md-11 col-md-offset-1">
|
<div class="col-md-11 col-md-offset-1">
|
||||||
|
|
||||||
<!-- New Label Engine -->
|
<!-- New Label Engine -->
|
||||||
<div class="form-group {{ $errors->has('label2_enable') ? 'error' : '' }}">
|
{{-- <div class="form-group" {{ $errors->has('label2_enable') ? 'error' : '' }}">--}}
|
||||||
<div class="col-md-3">
|
{{-- <div class="col-md-7 col-md-offset-3">--}}
|
||||||
{{ Form::label('label2_enable', trans('admin/settings/general.label2_enable')) }}
|
{{-- <label for="label2_enable" class="form-control">--}}
|
||||||
</div>
|
{{-- <input type="checkbox" value="1" name="label2_enable" {{ (old('label2_enable', $setting->label2_enable)) == '1' ? ' checked="checked"' : '' }} aria-label="label2_enable">--}}
|
||||||
<div class="col-md-9">
|
{{-- {{ Form::label('label2_enable', trans('admin/settings/general.label2_enable')) }}--}}
|
||||||
{{ Form::checkbox('label2_enable', '1', old('label2_enable', $setting->label2_enable, [ 'class'=>'minimal', 'aria-label'=>'label2_enable' ])) }}
|
|
||||||
{{ trans('general.yes') }}
|
{{-- </label>--}}
|
||||||
{!! $errors->first('label2_enable', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
|
{{-- {!! $errors->first('label2_enable', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}--}}
|
||||||
<p class="help-block">{!! trans('admin/settings/general.label2_enable_help') !!}</p>
|
{{-- <p class="help-block">--}}
|
||||||
</div>
|
{{-- {!! trans('admin/settings/general.label2_enable_help') !!}--}}
|
||||||
</div>
|
{{-- </p>--}}
|
||||||
|
|
||||||
|
{{-- </div>--}}
|
||||||
|
{{-- </div>--}}
|
||||||
|
|
||||||
|
|
||||||
@if ($setting->label2_enable)
|
@if ($setting->label2_enable)
|
||||||
<!-- New Settings -->
|
<!-- New Settings -->
|
||||||
|
|
Loading…
Reference in a new issue