2025-12-14 13:23:46 -06:00
|
|
|
<div class="text-2xl">
|
|
|
|
|
<h1 class="text-center m-5">Create Account</h1>
|
2025-12-12 23:07:04 -06:00
|
|
|
|
2025-12-15 23:53:07 -06:00
|
|
|
<form class="flex flex-col gap-5" wire:submit="register">
|
2025-12-14 13:23:46 -06:00
|
|
|
@if($errors->any())
|
|
|
|
|
<div class="text-red-500">
|
|
|
|
|
@foreach($errors->all() as $error)
|
|
|
|
|
<p>{{$error}}</p>
|
|
|
|
|
@endforeach
|
2025-12-12 23:07:04 -06:00
|
|
|
</div>
|
2025-12-14 13:23:46 -06:00
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
<div class="flex flex-col">
|
|
|
|
|
<label class="py-5" for="username">Username</label>
|
2025-12-15 23:53:07 -06:00
|
|
|
<input class="bg-white" type="text" wire:model.live="form.username"/>
|
2025-12-14 13:23:46 -06:00
|
|
|
</div>
|
|
|
|
|
<div class="flex flex-col">
|
|
|
|
|
<label class="py-5" for="email">Email</label>
|
2025-12-15 23:53:07 -06:00
|
|
|
<input class="bg-white" type="email" wire:model.live="form.email"/>
|
2025-12-14 13:23:46 -06:00
|
|
|
</div>
|
|
|
|
|
<button type="submit" class="bg-green-400 text-white px-4 py-2 rounded">Submit</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|