mirror of
https://github.com/10h30/Test-Laravel-Routes.git
synced 2026-07-13 03:36:37 +09:00
First commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<x-app-layout>
|
||||
<x-slot name="header">
|
||||
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
|
||||
{{ __('Edit task') }}
|
||||
</h2>
|
||||
</x-slot>
|
||||
|
||||
<div class="py-12">
|
||||
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
|
||||
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
|
||||
<div class="p-6 bg-white border-b border-gray-200">
|
||||
|
||||
<x-auth-validation-errors class="mb-4" :errors="$errors"/>
|
||||
|
||||
<form action="{{ route('tasks.update', $task) }}" method="POST">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
|
||||
<div>
|
||||
<x-label for="name" :value="__('Name')"/>
|
||||
|
||||
<x-input id="name" class="block mt-1 w-full" type="text" name="name"
|
||||
value="{{ $task->name }}" required/>
|
||||
</div>
|
||||
|
||||
<x-button class="mt-4">
|
||||
{{ __('Submit') }}
|
||||
</x-button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</x-app-layout>
|
||||
Reference in New Issue
Block a user