@extends('framework::backend.layouts.app')

@section('content')
    <form method="POST" action="{{ route('backend.layout.update', $layout->key) }}" enctype="multipart/form-data">
        {{ csrf_field() }}

        @component('blade::content_header')
            {{ trans('builder::backend.layout_edit') }}
            @slot('actions')
                @backButton([
                    'name' => trans('builder::backend.layout_index'),
                    'url' => route('backend.layout.index')
                ])
                @saveButton(['name' => trans('builder::backend.layout_update')])
            @endslot
        @endcomponent

        @component('blade::content_body')
            @include('builder::backend.layout.partials.form.details')
        @endcomponent

    </form>
@stop
