@extends('layouts.app', [ 'title' => trans('crud.attributes.create.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] ] ]) @section('content')
@include('partials.errors') {!! Form::open(array('route' => ['entities.attributes.store', $entity->id], 'method'=>'POST', '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