]> git.localhorst.tv Git - alttp.git/blob - resources/views/auth/register.blade.php
try to respond more appropriately
[alttp.git] / resources / views / auth / register.blade.php
1 <x-guest-layout>
2     <x-auth-card>
3         <x-slot name="logo">
4             <a href="/">
5                 <x-application-logo class="w-20 h-20 fill-current text-gray-500" />
6             </a>
7         </x-slot>
8
9         <!-- Validation Errors -->
10         <x-auth-validation-errors class="mb-4" :errors="$errors" />
11
12         <form method="POST" action="{{ route('register') }}">
13             @csrf
14
15             <!-- Name -->
16             <div>
17                 <x-label for="name" :value="__('Name')" />
18
19                 <x-input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus />
20             </div>
21
22             <!-- Email Address -->
23             <div class="mt-4">
24                 <x-label for="email" :value="__('Email')" />
25
26                 <x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required />
27             </div>
28
29             <!-- Password -->
30             <div class="mt-4">
31                 <x-label for="password" :value="__('Password')" />
32
33                 <x-input id="password" class="block mt-1 w-full"
34                                 type="password"
35                                 name="password"
36                                 required autocomplete="new-password" />
37             </div>
38
39             <!-- Confirm Password -->
40             <div class="mt-4">
41                 <x-label for="password_confirmation" :value="__('Confirm Password')" />
42
43                 <x-input id="password_confirmation" class="block mt-1 w-full"
44                                 type="password"
45                                 name="password_confirmation" required />
46             </div>
47
48             <div class="flex items-center justify-end mt-4">
49                 <a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('login') }}">
50                     {{ __('Already registered?') }}
51                 </a>
52
53                 <x-button class="ml-4">
54                     {{ __('Register') }}
55                 </x-button>
56             </div>
57         </form>
58     </x-auth-card>
59 </x-guest-layout>