WIP: Road to 1.0.0 #1
|
@ -109,16 +109,12 @@
|
|||
@csrf
|
||||
@foreach($options as $option)
|
||||
|
||||
@if(!in_array($option->option_name, $ignoreOptions))
|
||||
|
||||
<div class="form-group form-check">
|
||||
<input type="hidden" name="{{$option->option_name}}" value="0">
|
||||
<input type="checkbox" name="{{$option->option_name}}" value="1" id="{{$option->option_name}}" class="form-check-input" {{ ($option->option_value == 1) ? 'checked' : '' }}>
|
||||
<label for="{{$option->option_name}}">{{$option->friendly_name}}</label>
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue