college-courses/resources/views/livewire/course/course-edit.blade.php

25 lines
895 B
PHP
Raw Normal View History

2024-10-15 10:15:40 +03:00
<div class="w-full grid place-items-center mt-[150px]">
<div>
<div class="mb-2">
<a class="text-gray-500 hover:text-gray-700 hover:underline" href="{{ url('/manage/course') }}">
&larr; Вернуться назад</a>
</div>
<h1 class="text-5xl mb-8 select-none">Редактирование</h1>
<form wire:submit.prevent="save" class="p-8 border rounded-lg shadow-md mb-8">
{{ $this->form }}
<div class="ml-auto mt-8 flex gap-2">
<x-ui.button type="submit">Сохранить &rarr;</x-ui.button>
<x-ui.button type="button"
wire:click.prefetch="createLesson">
Создать занятие &rarr;
</x-ui.button>
</div>
</form>
{{ $this->table }}
</div>
</div>