@extends ('settings.layouts.app') @section ('title', trans('labels.backend.pages.management') . ' | ' . trans('labels.backend.pages.edit')) {{-- @section('page-header')

{{ trans('labels.backend.pages.management') }} {{ trans('labels.backend.pages.edit') }}

@endsection --}} @section('content') {!! Form::model($page, ['method' => 'PATCH', 'route' => ['settings.page.update', $page->id], 'class' => 'pure-form pure-form-aligned', 'enctype' => 'multipart/form-data']) !!}

{{ trans('labels.backend.pages.edit') }}

{{-- @include('backend.pages.partials.pages-header-buttons') --}}
{!! Form::label('en_title', trans('validation.attributes.backend.pages.title'), ['class' => 'col-lg-2 control-label required']) !!}
{!! Form::text('en_title', $page->translate('en')->title, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.title'), 'required' => 'required', 'readonly' => 'true']) !!}
{!! Form::label('en_description', trans('validation.attributes.backend.pages.description'), ['class' => 'col-lg-2 control-label required']) !!}
{!! Form::textarea('en_description', $page->translate('en')->description, ['class' => 'form-control description ckeditor', 'placeholder' => trans('validation.attributes.backend.pages.description')]) !!}
{!! Form::label('de_title', trans('validation.attributes.backend.pages.title'), ['class' => 'col-lg-2 control-label required']) !!}
{!! Form::text('de_title', $page->translate('de')->title, ['class' => 'form-control box-size', 'placeholder' => trans('validation.attributes.backend.pages.title'), 'required' => 'required', 'readonly' => 'true']) !!}
{!! Form::label('de_description', trans('validation.attributes.backend.pages.description'), ['class' => 'col-lg-2 control-label required']) !!}
{!! Form::textarea('de_description', $page->translate('de')->description, ['class' => 'form-control description ckeditor', 'placeholder' => trans('validation.attributes.backend.pages.description')]) !!}
{!! Form::label('status', trans('validation.attributes.backend.pages.is_active'), ['class' => 'col-lg-2 control-label']) !!}
{{ link_to_route('settings.page.index', trans('buttons.general.cancel'), [], ['class' => 'pure-button button-small is-warning']) }} {!! Form::submit(trans('buttons.general.crud.update'), ['class' => 'pure-button button-small is-primary']) !!}
@include('errors._errors') {!! Form::close() !!} @endsection @section('styles') {{-- --}} @endsection @section("after-scripts") @endsection