@extends('admin.layout') @section('content')

{{ translate('Pages') }}

@if (Session::get('tenant_subscribtion_data')['pages']['belongs_to_subscribtion'] == true && Session::get('tenant_controle_modules')['pages'] == 1)
@foreach ($data as $key => $d) @endforeach
# {{ translate('Title') }} {{ translate('Show mobile') }} {{ translate('Options') }}
{{ $key + 1 + ($data->currentPage() - 1) * $data->perPage() }} {{ $d->getTranslation('title') }}
{{ $data->links() }}
@else

{{ translate('You need to upgrade to use this feature.') }}

{{ translate('Please Upgrade to use this feature.') }}


{{ translate('Upgrade now') }}
@endif

{{ translate('Add page') }}

{!! Form::open(['method' => 'post', 'action' => 'Admin\PagesController@store', 'files' => true, 'id' => 'add_pages_form']) !!}
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => translate('Title')]) !!}
@error('title')
{{ $message }}
@enderror
{!! Form::textarea('description', null, ['id' => 'editor1', 'class' => 'form-control', 'placeholder' => translate('Description')]) !!}
@error('description')
{{ $message }}
@enderror
{!! Form::checkbox('show_mobile', null, 1, ['id' => 'Checkbox_1']) !!}
{!! Form::Close() !!}
@endsection @section('script') @if (Session::get('tenant_subscribtion_data')['pages']['belongs_to_subscribtion'] == true && Session::get('tenant_controle_modules')['pages'] == 1) @else @endif @endsection