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

26 lines
1008 B
PHP
Raw Permalink 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">
<x-ui.route-link link="{{ url()->previous() }}">
&larr; Вернуться назад
</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">Обновить &rarr;</x-ui.button>
</div>
</form>
</div>
</div>