@extends('layouts.adminmaster') @section('styles') @endsection @section('content')
@csrf @honeypot

{{lang('Feature Box Section')}}

@error('featuretitle') {{ lang($message) }} @enderror
@error('featuresub') {{ lang($message) }} @enderror

{{lang('Feature Box List')}}

@can('Feature Box Create') {{lang('Add Feature')}} @endcan
@can('Feature Box Delete') @endcan @can('Feature Box Delete') @endcan @cannot('Feature Box Delete') @endcannot @php $i = 1; @endphp @foreach($featureboxes as $featurebox) @endforeach
{{lang('Sl.No')}} {{lang('Title')}} {{lang('Subtitle')}} {{lang('Actions')}}
{{$i++}} @if(Auth::user()->can('Feature Box Delete')) @else @endif {{$featurebox->title ? str_limit($featurebox->title, 40, '...') : ''}} {{$featurebox->id}} {{$featurebox->subtitle ? str_limit($featurebox->subtitle, 40, '...') : ''}}
@if(Auth::user()->can('Feature Box Edit')) @else ~ @endif @if(Auth::user()->can('Feature Box Delete')) @else ~ @endif
@endsection @section('modal') @include('admin.featurebox.model') @endsection @section('scripts') @endsection