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

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

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

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

    </form>
@stop
