Manage Options Switches

{{ Form::open( array('url' => action('OptionsSwitchesController@searchOption'), 'method'=>'post', 'id' => 'searchForm') ) }}
{{ Form::submit('Search', ['id' => 'searchBtn', 'class' => 'btn btn-primary']) }}
+
{{ Form::close() }}
{{-- START ALERT BLOCK --}} @if(Session::has('successMessage')) @endif @if(Session::has('dangerMessage') || count($errors)) @endif {{-- END ALERT BLOCK --}}
@php $n = "0"; @endphp @forelse($options as $option) {{-- START EDIT MODAL --}} @endforelse
Uid. title Active
{{ ++$n }} {{ $option->title }} {{-- START VIEW MODAL --}} {{-- END VIEW MODAL --}} {!! html_entity_decode(link_to_route('admin-del-options-switches', '', [$option->id], ['onclick' => 'return checkDelete()', 'title' => 'Delete'])) !!} @if($option->status == 1) {!! html_entity_decode(link_to_route('admin-active-options-switches', '', [$option->id], [ 'onclick' => 'return checkInActive()', 'title' => 'Activate'])) !!} @elseif($option->status == 0) {!! html_entity_decode(link_to_route('admin-inactive-options-switches', '', [$option->id], [ 'onclick' => 'return checkActive()', 'title' => 'Deactivate'])) !!} @endif
No Records Found.