mirror of https://github.com/kcal-app/kcal.git
				
				
				
			
		
			
				
	
	
		
			60 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
| <x-guest-layout>
 | |
|     <x-auth-card>
 | |
|         <x-slot name="logo">
 | |
|             <a href="/">
 | |
|                 <x-application-logo class="w-20 h-20 fill-current text-gray-500" />
 | |
|             </a>
 | |
|         </x-slot>
 | |
| 
 | |
|         <!-- Validation Errors -->
 | |
|         <x-auth-validation-errors class="mb-4" :errors="$errors" />
 | |
| 
 | |
|         <form method="POST" action="{{ route('register') }}">
 | |
|             @csrf
 | |
| 
 | |
|             <!-- Name -->
 | |
|             <div>
 | |
|                 <x-inputs.label for="name" :value="__('Name')" />
 | |
| 
 | |
|                 <x-inputs.input id="name" class="block mt-1 w-full" type="text" name="name" :value="old('name')" required autofocus />
 | |
|             </div>
 | |
| 
 | |
|             <!-- Email Address -->
 | |
|             <div class="mt-4">
 | |
|                 <x-inputs.label for="email" :value="__('Email')" />
 | |
| 
 | |
|                 <x-inputs.input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required />
 | |
|             </div>
 | |
| 
 | |
|             <!-- Password -->
 | |
|             <div class="mt-4">
 | |
|                 <x-inputs.label for="password" :value="__('Password')" />
 | |
| 
 | |
|                 <x-inputs.input id="password" class="block mt-1 w-full"
 | |
|                                 type="password"
 | |
|                                 name="password"
 | |
|                                 required autocomplete="new-password" />
 | |
|             </div>
 | |
| 
 | |
|             <!-- Confirm Password -->
 | |
|             <div class="mt-4">
 | |
|                 <x-inputs.label for="password_confirmation" :value="__('Confirm Password')" />
 | |
| 
 | |
|                 <x-inputs.input id="password_confirmation" class="block mt-1 w-full"
 | |
|                                 type="password"
 | |
|                                 name="password_confirmation" required />
 | |
|             </div>
 | |
| 
 | |
|             <div class="flex items-center justify-end mt-4">
 | |
|                 <a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('login') }}">
 | |
|                     {{ __('Already registered?') }}
 | |
|                 </a>
 | |
| 
 | |
|                 <x-inputs.button class="ml-4">
 | |
|                     {{ __('Register') }}
 | |
|                 </x-inputs.button>
 | |
|             </div>
 | |
|         </form>
 | |
|     </x-auth-card>
 | |
| </x-guest-layout>
 |