@extends('backend.master') @section('table') {{__('frontend_settings')}} @endsection @section('mainContent') {!! generateBreadcrumb() !!}
@if(isset($edit))

@if(!isset($edit)) {{__('frontendmanage.Add New Section Setting') }} @else {{__('common.Update')}} @endif

@if (isset($edit))
@else @if(permissionCheck('frontend.sectionSetting.store')) @endif @endif @csrf @if(isset($edit)) @endif
has('title') ? ' autofocus' : '' }} class="primary_input_field name {{ @$errors->has('title') ? ' is-invalid' : '' }}" placeholder="{{ __('frontendmanage.Title') }}" type="text" value="{{isset($edit)?$edit->title:old('title')}}"> @if ($errors->has('title')) {{ @$errors->first('title') }} @endif
has('url') ? ' autofocus' : '' }} class="primary_input_field name {{ @$errors->has('title') ? ' is-invalid' : '' }}" placeholder="{{ __('frontendmanage.URL') }}" type="text" value="{{isset($edit)?$edit->url:old('url')}}"> @if ($errors->has('url')) {{ @$errors->first('url') }} @endif
@if ($errors->has('description')) {{ @$errors->first('description') }} @endif
@php $tooltip = ""; if(permissionCheck('frontend.sectionSetting.store')){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
@endif

{{__('frontendmanage.Section List')}}

@foreach($data['frontends'] as $key => $item) @endforeach
{{ __('common.SL') }} {{ __('frontendmanage.Title') }} {{ __('frontendmanage.URL') }} {{ __('frontendmanage.Description') }} {{ __('common.Status') }} {{ __('frontendmanage.Icon') }} {{ __('frontendmanage.Date') }} {{ __('common.Action') }}
{{ $key+1 }} {{ $item->title }} {{ $item->url }} {{ $item->description }} {{ showDate($item->created_at) }}
@include('backend.partials.delete_modal') @endsection @push('scripts') @endpush