Yayın Ayarları
@check($cPublishPermission) @if(getFillable($cModel,'status')) {!! html()->checkbox('status' ) ->addClass('bs-switch') ->value('1') ->data('on-text','Aktif')->data('off-text','Pasif') ->data('on-color','success')->data('off-color','default') ->checked(isset($item) ? ($item->status == 1) : true) !!} @endif @endcheck
Ana Sayfada Göster
@check($cPublishPermission) @if(getFillable($cModel,'home_page_view')) {!! html()->checkbox('home_page_view' ) ->addClass('bs-switch') ->value('1') ->data('on-text','Aktif')->data('off-text','Pasif') ->data('on-color','success')->data('off-color','default') ->checked(isset($item) ? ($item->home_page_view == 1) : true) !!} @endif @endcheck
Menüde Kategoriyi Temsil Et
@check($cPublishPermission) @if(getFillable($cModel,'showroom')) {!! html()->checkbox('showroom' ) ->addClass('bs-switch') ->value('1') ->data('on-text','Aktif')->data('off-text','Pasif') ->data('on-color','success')->data('off-color','default') ->checked(isset($item) ? ($item->showroom == 1) : true) !!} @endif @endcheck

Bu bir sos mu?
@check($cPublishPermission) @if(getFillable($cModel,'is_sauce')) {!! html()->checkbox('is_sauce' ) ->addClass('bs-switch') ->value('1') ->data('on-text','Evet')->data('off-text','Hayır') ->data('on-color','success')->data('off-color','default') ->checked(isset($item) ? ($item->is_sauce == 1) : true) !!} @endif @endcheck
Sos Kategorisi
@if(getFillable($cModel,'sauce_category_id'))
{!! html()->label('Sos Kategorisi ile İlişkilendirin.')->for('sauce_category_id')->class('f-label-100') !!} {!! html()->select('sauce_category_id', $saucecategories ?? [])->addClass('form-control') !!}
@endif