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

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

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