2023-05-16 07:05:38 +00:00
|
|
|
<x-layout-simple>
|
|
|
|
|
<div class="flex items-center justify-center h-screen">
|
|
|
|
|
<div>
|
|
|
|
|
<form action="/register" method="POST" class="flex flex-col gap-2">
|
|
|
|
|
@csrf
|
|
|
|
|
<input type="text" name="name" placeholder="{{ __('input.name') }}"
|
|
|
|
|
@env('local') value="root" @endenv />
|
|
|
|
|
<input type="email" name="email" placeholder="{{ __('input.email') }}"
|
|
|
|
|
@env('local') value="test@example.com" @endenv />
|
|
|
|
|
<input type="password" name="password" placeholder="{{ __('input.password') }}"
|
|
|
|
|
@env('local') value="password" @endenv />
|
|
|
|
|
<input type="password" name="password_confirmation" placeholder="{{ __('input.password.again') }}"
|
|
|
|
|
@env('local') value="password" @endenv />
|
2023-05-18 11:26:35 +00:00
|
|
|
<x-inputs.button type="submit">{{ __('auth.register') }}</x-inputs.button>
|
2023-05-16 07:05:38 +00:00
|
|
|
</form>
|
|
|
|
|
@if ($errors->any())
|
2023-05-22 20:30:33 +00:00
|
|
|
<div class="fixed top-0 alert alert-error">
|
2023-05-16 07:05:38 +00:00
|
|
|
<ul>
|
|
|
|
|
<li>{{ __('auth.failed') }}</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
<a href="/login" class="flex justify-center pt-2">
|
|
|
|
|
<button>{{ __('auth.login') }}</button>
|
|
|
|
|
</a>
|
2023-03-24 13:54:17 +00:00
|
|
|
</div>
|
2023-05-16 07:05:38 +00:00
|
|
|
</div>
|
|
|
|
|
</x-layout-simple>
|