Remove ignoreOptions
This commit is contained in:
parent
abace4e85b
commit
3156b0d17d
|
@ -109,15 +109,11 @@
|
||||||
@csrf
|
@csrf
|
||||||
@foreach($options as $option)
|
@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">
|
||||||
<div class="form-group form-check">
|
<input type="checkbox" name="{{$option->option_name}}" value="1" id="{{$option->option_name}}" class="form-check-input" {{ ($option->option_value == 1) ? 'checked' : '' }}>
|
||||||
<input type="hidden" name="{{$option->option_name}}" value="0">
|
<label for="{{$option->option_name}}">{{$option->friendly_name}}</label>
|
||||||
<input type="checkbox" name="{{$option->option_name}}" value="1" id="{{$option->option_name}}" class="form-check-input" {{ ($option->option_value == 1) ? 'checked' : '' }}>
|
</div>
|
||||||
<label for="{{$option->option_name}}">{{$option->friendly_name}}</label>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@endforeach
|
@endforeach
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue