@include( 'main.components.breadcrumb', [ 'url' => 'vocabulary.view', 'breadcrumb_before' => 'Vocabulary manage', 'breadcrumb_after' => (isset($method) && $method=='create') ? 'Add new vocabulary' : 'Update vocabulary' ] )
@php $action = isset($method) && $method=='create' ? route('vocabulary.store') : route('vocabulary.update', $vocabulary->id); $title = isset($method) && $method=='create' ? 'Add new vocabulary' : 'Update vocabulary'; $description = isset($method) && $method=='create' ? __('vocabulary.create.description') : __('vocabulary.update.description'); @endphp

{{$title}}

{!! __('vocabulary.create.note') !!}

@csrf
@error('name')
{{ $message }}
@enderror
@error('code')
{{ $message }}
@enderror
{{__('general.button.cancel')}}