|
|
<div>
|
|
|
<div class="sm:mx-auto sm:w-full sm:max-w-md">
|
|
|
<a href="{{ route('home') }}">
|
|
|
<x-logo class="w-32 h-auto mx-auto text-green-600" />
|
|
|
</a>
|
|
|
|
|
|
<h2 class="mt-6 text-3xl font-extrabold text-center text-gray-900 leading-9">
|
|
|
{{ __('user_categories.individual') }}
|
|
|
</h2>
|
|
|
|
|
|
<p class="mt-2 text-sm text-center text-gray-600 leading-5 max-w">
|
|
|
Ou
|
|
|
<a href="{{ route('login') }}" class="font-medium text-green-600 hover:text-green-500 lowercase focus:outline-none focus:underline transition ease-in-out duration-150">
|
|
|
{{ __('auth.login') }}
|
|
|
</a>
|
|
|
</p>
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
|
|
|
<div class="px-4 py-8 bg-white shadow sm:rounded-lg sm:px-10">
|
|
|
<form wire:submit.prevent="register" class="space-y-6">
|
|
|
|
|
|
<x-input.group label="{{ __('users.attributes.name') }}" for="name" :error="$errors->first('name')">
|
|
|
<x-input.text wire:model.lazy="name" id="name" :state="$errors->has('name') ? false : null" required autofocus />
|
|
|
</x-input-group>
|
|
|
|
|
|
<x-input.group label="{{ __('users.attributes.birthday') }}" for="birthday" :error="$errors->first('birthday')">
|
|
|
<x-input.text wire:model.lazy="birthday" id="birthday" mask="date" placeholder="dd/mm/yyyy" :state="$errors->has('birthday') ? false : null" required />
|
|
|
</x-input-group>
|
|
|
|
|
|
<x-input.group label="{{ __('users.attributes.email') }}" for="email" :error="$errors->first('email')">
|
|
|
<x-input.email wire:model.lazy="email" id="email" :state="$errors->has('email') ? false : null" required />
|
|
|
</x-input-group>
|
|
|
|
|
|
<div>
|
|
|
<span class="block w-full rounded-md shadow-sm">
|
|
|
<button type="submit" class="flex justify-center w-full px-4 py-2 text-sm font-medium text-white bg-green-600 border border-transparent rounded-md hover:bg-green-500 focus:outline-none focus:border-green-700 focus:shadow-outline-green active:bg-green-700 transition duration-150 ease-in-out">
|
|
|
{{ __('auth.register') }}
|
|
|
</button>
|
|
|
</span>
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|