Files
ntspi-app/resources/js/Pages/Dashboard/AdditionalEducations/Create.vue
T
2026-04-07 17:54:26 +05:00

66 lines
2.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div class="min-h-screen bg-background-2">
<!-- Header -->
<div class="border-b border-line-2 bg-layer/50 backdrop-blur-sm sticky top-0 z-10 h-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-full">
<div class="flex items-center h-full gap-3">
<a
:href="route('dashboard.additional-educations.index')"
class="p-2 text-muted-foreground-1 hover:text-foreground hover:bg-muted-hover rounded-lg transition-all"
>
<DashboardIcon name="arrow-left" size="5" />
</a>
<div class="flex items-center gap-3">
<div class="w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center">
<DashboardIcon name="plus" size="5" class="text-primary" />
</div>
<div>
<h1 class="text-lg font-medium text-foreground">Создание программы ДПО</h1>
<p class="text-xs text-muted-foreground-1">Заполните информацию о новой программе дополнительного образования</p>
</div>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<AdditionalEducationForm
:categories="categories"
:education-forms="educationForms"
submit-label="Создать программу"
submit-route="dashboard.additional-educations.store"
submit-method="post"
/>
</div>
</div>
</template>
<script>
import DashboardIcon from '../Components/DashboardIcon.vue';
import AdditionalEducationForm from './AdditionalEducationForm.vue';
export default {
name: 'AdditionalEducationCreate',
components: {
DashboardIcon,
AdditionalEducationForm
},
props: {
categories: {
type: Array,
required: true
},
educationForms: {
type: Array,
required: true
}
},
mounted() {
this.SET_DOCUMENT_TITLE('Создание программы ДПО');
}
}
</script>