@extends('layouts.' . ($ajax ? 'ajax' : 'app'), [ 'title' => trans('calendars.event.create.title', ['name' => $entity->name]), 'description' => '', 'breadcrumbs' => [ ['url' => route('calendars.index'), 'label' => trans('calendars.index.title')], ['url' => $entity->url(), 'label' => $entity->name], ['url' => $entity->url() . '#calendars', 'label' => trans('crud.tabs.events')], trans('crud.update'), ] ]) @inject('formService', 'App\Services\FormService') @section('content')
@include('partials.errors') {!! Form::open(['method' => 'POST', 'route' => ['entities.entity_events.store', $entity->id], 'data-shortcut' => "1"]) !!} @include('calendars.events._entity_form')
@if (!$ajax) {!! trans('crud.or_cancel', ['url' => (!empty($cancel) ? $cancel : url()->previous())]) !!} @endif
@if (!empty($next)) @endif {!! Form::close() !!}
@endsection