mirror of
https://github.com/10h30/Test-Laravel-Routes.git
synced 2026-06-05 15:07:55 +09:00
34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
|
|
<x-app-layout>
|
||
|
|
<x-slot name="header">
|
||
|
|
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
|
||
|
|
{{ __('Add new 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.store') }}" method="POST">
|
||
|
|
@csrf
|
||
|
|
|
||
|
|
<div>
|
||
|
|
<x-label for="name" :value="__('Name')"/>
|
||
|
|
|
||
|
|
<x-input id="name" class="block mt-1 w-full" type="text" name="name"
|
||
|
|
:value="old('name')" required/>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<x-button class="mt-4">
|
||
|
|
{{ __('Submit') }}
|
||
|
|
</x-button>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</x-app-layout>
|