@props([ 'route' => route('admin.tools.edit', $tool), 'title' => __('admin.editTool'), 'button_text' => __('common.save'), 'tool' => null, 'locales', 'categories', 'tags', ])
@csrf
@if ($locales->count() !== 1) @endif
@foreach ($locales as $locale) @if (isset($tool)) @php($tool_locale = $tool->translate($locale->locale)) @endif
{{ $title }}
first) required autofocus @endif> @error($locale->locale . '.name')
{{ $message }}
@enderror @lang('admin.nameHelp')
first) required @endif> @error($locale->locale . '.title')
{{ $message }}
@enderror @lang('admin.titleHelp')
first) required autofocus @endif> @error($tool->slug)
{{ $message }}
@enderror @lang('admin.slugHelp')
@lang('admin.contentHelp')
@if (isset($tool) && $tool->icon)
@endif
@lang('common.ogImageHelp')
@lang('common.seoSettings')
@lang('common.metaTitleHelp')
@lang('common.metaDescriptionHelp')
@lang('common.ogSettings')
@lang('common.ogDescriptionHelp')
@if (isset($tool_locale) && $tool_locale->og_image)
@endif
@lang('common.ogImageHelp')
@lang('admin.category')
@lang('admin.tags')
@lang('admin.tagHelp')
@endforeach
@section('footer_scripts') @endsection