@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') !!}