| 
									
										
										
										
											2022-10-13 16:03:31 +11:00
										 |  |  | @section("title", "Edit account") | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  | <x-app-layout> | 
					
						
							|  |  |  |     <x-slot name="header"> | 
					
						
							|  |  |  |         Edit account | 
					
						
							|  |  |  |     </x-slot> | 
					
						
							|  |  |  |     <div class="container"> | 
					
						
							|  |  |  |         <x-card class="shadow mt-3"> | 
					
						
							| 
									
										
										
										
											2022-10-31 16:01:16 +11:00
										 |  |  |             <x-response-alerts></x-response-alerts> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |             <form action="{{ route('account.update',Auth::user()->id) }}" method="POST"> | 
					
						
							|  |  |  |                 @csrf | 
					
						
							|  |  |  |                 @method('PUT') | 
					
						
							|  |  |  |                 <div class="row mt-2"> | 
					
						
							|  |  |  |                     <div class="col-12 col-md-4 mb-3"> | 
					
						
							|  |  |  |                         <x-text-input> | 
					
						
							|  |  |  |                             <x-slot name="title">Name</x-slot> | 
					
						
							|  |  |  |                             <x-slot name="name">name</x-slot> | 
					
						
							|  |  |  |                             <x-slot name="max">255</x-slot> | 
					
						
							|  |  |  |                             <x-slot name="value">{{Auth::user()->name}}</x-slot> | 
					
						
							|  |  |  |                         </x-text-input> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |                 <div class="row mt-2"> | 
					
						
							|  |  |  |                     <div class="col-12 col-md-4 mb-3"> | 
					
						
							|  |  |  |                         <x-text-input> | 
					
						
							|  |  |  |                             <x-slot name="title">Email</x-slot> | 
					
						
							|  |  |  |                             <x-slot name="name">email</x-slot> | 
					
						
							|  |  |  |                             <x-slot name="max">255</x-slot> | 
					
						
							|  |  |  |                             <x-slot name="value">{{Auth::user()->email}}</x-slot> | 
					
						
							|  |  |  |                         </x-text-input> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |                 <div class="row my-3"> | 
					
						
							|  |  |  |                     <div class="col-12 col-md-8"> | 
					
						
							|  |  |  |                         API key: <code>{{ Auth::user()->api_token }}</code> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |                 <div class="row"> | 
					
						
							|  |  |  |                     <div class="col-12 col-lg-4"> | 
					
						
							|  |  |  |                         <x-submit-button>Update account</x-submit-button> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </form> | 
					
						
							|  |  |  |         </x-card> | 
					
						
							| 
									
										
										
										
											2022-10-20 15:33:50 +11:00
										 |  |  |         <x-details-footer></x-details-footer> | 
					
						
							| 
									
										
										
										
											2022-03-06 02:29:58 +11:00
										 |  |  |     </div> | 
					
						
							|  |  |  | </x-app-layout> |