@extends('layouts.app', [ 'title' => trans($name . '.edit.title', ['name' => $parent->name]), 'description' => trans($name . '.edit.description'), 'breadcrumbs' => [ ['url' => route('quests.index'), 'label' => trans('quests.index.title')], ['url' => route('quests.show', $parent->id), 'label' => $parent->name], trans('crud.tabs.relations'), trans('crud.update'), ] ]) @section('content')
@include('partials.errors') {!! Form::model($model, ['method' => 'PATCH', 'route' => [$route . '.update', $parent->id, $model->id]]) !!} @include($name . '._form') {!! Form::hidden('quest_id', $parent->id) !!}
{!! trans('crud.or_cancel', ['url' => (!empty($cancel) ? $cancel : url()->previous() . (strpos(url()->previous(), '?tab=') === false ? '?tab=relation' : null))]) !!}
{!! Form::close() !!}
@endsection @include('editors.editor')