Remove ignoreOptions

This commit is contained in:
Miguel Nogueira 2021-01-06 01:29:47 +00:00
parent abace4e85b
commit 3156b0d17d
Signed by: miguel456
GPG Key ID: 2CF61B825316C6A0

View File

@ -109,15 +109,11 @@
@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
<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>
@endforeach
</form>