{{ translate('Edit page') }}

{!! Form::open(['method' => 'patch', 'action' => ['Admin\PagesController@update', $data->id], 'files' => true]) !!}
{!! Form::text('title', $data->getTranslation('title', defaultLanguage()), ['class' => 'form-control', 'placeholder' => translate('Title')]) !!}
@error('title')
{{ $message }}
@enderror
{!! Form::textarea('description', $data->getTranslation('description', defaultLanguage()), ['id' => 'editor1', 'class' => 'form-control', 'placeholder' => translate('Description')]) !!}
@error('description')
{{ $message }}
@enderror
{!! Form::checkbox('show_mobile', null, 1, ['id' => 'Checkbox_1']) !!}
{!! Form::Close() !!}