Fixed HTML labels on alerts setting page

Originally https://github.com/snipe/snipe-it/pull/6808/ by @timothyfarmer - I also updated the error class logic in the same block
This commit is contained in:
snipe 2019-03-13 19:53:23 -07:00
parent 6c71e72dcd
commit 55f727ef28

View file

@ -41,9 +41,9 @@
<div class="col-md-11 col-md-offset-1">
<!-- Alerts Enabled -->
<div class="form-group {{ $errors->has('alert_email') ? 'error' : '' }}">
<div class="form-group {{ $errors->has('alerts_enabled') ? 'error' : '' }}">
<div class="col-md-3">
{{ Form::label('alert_email', trans('admin/settings/general.alerts_enabled')) }}
{{ Form::label('alerts_enabled', trans('admin/settings/general.alerts_enabled')) }}
</div>
<div class="col-md-5">
{{ Form::checkbox('alerts_enabled', '1', Input::old('alerts_enabled', $setting->alerts_enabled),array('class' => 'minimal')) }}