@extends('layouts.app', [ 'title' => trans('crud.attributes.edit.title', ['name' => $entity->name]), 'description' => '', 'breadcrumbs' => [ ['url' => route($parentRoute . '.index'), 'label' => trans($parentRoute . '.index.title')], ['url' => route($parentRoute . '.show', $entity->child->id), 'label' => $entity->name], trans('crud.update'), ] ]) @section('content')
@include('partials.errors') {!! Form::model($model, ['method' => 'PATCH', 'route' => ['entities.attributes.update', $entity->id, $model->id], 'data-shortcut' => "1"]) !!} @include('cruds.attributes._form')
{!! trans('crud.or_cancel', ['url' => (!empty($cancel) ? $cancel : url()->previous() . (strpos(url()->previous(), '#attribute') === false ? '#attribute' : null))]) !!}
{!! Form::close() !!}
@endsection