26 lines
1008 B
PHP
26 lines
1008 B
PHP
|
|
||
|
<div class="w-full grid place-items-center mt-[150px]">
|
||
|
<div>
|
||
|
<div class="mb-2">
|
||
|
<x-ui.route-link link="{{ url()->previous() }}">
|
||
|
← Вернуться назад
|
||
|
</x-ui.route-link>
|
||
|
@if (url()->previous() !== url()->route('course-edit', ['course'=> $course]))
|
||
|
|
|
||
|
<x-ui.route-link link="{{ url()->route('course-edit', ['course'=> $course]) }}">
|
||
|
Перейти в управление курсом
|
||
|
</x-ui.route-link>
|
||
|
@endif
|
||
|
</div>
|
||
|
<h1 class="text-5xl mb-8 select-none">Редактирование занятие</h1>
|
||
|
<form wire:submit.prevent="update" class="p-8 border rounded-lg shadow-md mb-32 max-w-4xl">
|
||
|
{{ $this->form }}
|
||
|
|
||
|
<div class="mt-8 flex flex-row-reverse">
|
||
|
<x-ui.button type="submit">Обновить →</x-ui.button>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|