@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('settings.title')],
        ['label' => __('translations.title'), 'url' => route('settings.translations.index')],
        ['label' => __('translations.create_title')],
    ];
@endphp

<x-ui.layout.page
    :title="__('translations.create_title')"
    page-icon="fe fe-plus"
    :breadcrumbs="$breadcrumbs"
>
    <x-slot:actions>
        <x-ui.buttons.secondary :href="route('settings.translations.index')" icon="fe fe-arrow-left">
            {{ __('common.back') }}
        </x-ui.buttons.secondary>
    </x-slot:actions>

    @include('pages.settings.translations._form', [
        'action' => route('settings.translations.store'),
        'method' => 'POST',
        'translation' => null,
        'languages' => $languages,
        'submitLabel' => __('translations.actions.create'),
    ])
</x-ui.layout.page>
