Wrapped settings with form-check
This commit is contained in:
parent
25ddf81118
commit
ba3a139d1c
|
@ -44,9 +44,9 @@
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form name="settings" id="settings" method="post" action="{{route('saveSettings')}}">
|
<form name="settings" id="settings" method="post" action="{{route('saveSettings')}}">
|
||||||
@foreach($options as $option)
|
@foreach($options as $option)
|
||||||
<div class="form-group">
|
<div class="form-group form-check">
|
||||||
<label for="{{$option->option_name}}">{{$option->friendly_name}}</label>
|
|
||||||
<input type="checkbox" name="{{$option->option_name}}" id="{{$option->option_name}}" class="form-check-input" {{ ($option->option_value == 1) ? 'checked' : '' }}>
|
<input type="checkbox" name="{{$option->option_name}}" id="{{$option->option_name}}" class="form-check-input" {{ ($option->option_value == 1) ? 'checked' : '' }}>
|
||||||
|
<label for="{{$option->option_name}}">{{$option->friendly_name}}</label>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue