Files
Virtnet.bond/themes/default/views/auth/register.blade.php
2025-11-30 11:57:22 +01:00

35 lines
1.8 KiB
PHP

<form
class="mx-auto flex flex-col gap-2 mt-4 shadow-sm px-6 sm:px-14 pb-10 bg-primary-800 rounded-md xl:max-w-[60%] w-full"
wire:submit.prevent="submit" id="register">
<div class="flex flex-col items-center mt-4 mb-10">
<x-logo />
<h1 class="text-2xl text-center mt-2">{{ __('auth.sign_up_title') }} </h1>
</div>
<div class="flex flex-col md:grid md:grid-cols-2 gap-4">
<x-form.input name="first_name" type="text" :label="__('general.input.first_name')"
:placeholder="__('general.input.first_name_placeholder')" wire:model="first_name" required />
<x-form.input name="last_name" type="text" :label="__('general.input.last_name')"
:placeholder="__('general.input.last_name_placeholder')" wire:model="last_name" required />
<x-form.input name="email" type="email" :label="__('general.input.email')"
:placeholder="__('general.input.email_placeholder')" required wire:model="email" divClass="col-span-2" />
<x-form.input name="password" type="password" :label="__('Password')" :placeholder="__('Your password')"
wire:model="password" required />
<x-form.input name="password_confirm" type="password" :label="__('Password')"
:placeholder="__('Confirm your password')" wire:model="password_confirmation" required />
<x-form.properties :custom_properties="$custom_properties" :properties="$properties" />
</div>
<x-captcha :form="'register'" />
<x-button.primary class="w-full mt-2">{{ __('Sign up') }}</x-button.primary>
<div class="text-white text-center rounded-md py-2 mt-6 text-sm">
{{ __('auth.already_have_account') }}
<a class="text-sm text-secondary-500 text-secondary hover:underline" href="{{ route('login') }}" wire:navigate>
{{ __('auth.sign_in') }}
</a>
</div>
</form>