restaure resiter page
This commit is contained in:
@@ -1 +1,60 @@
|
||||
<?php
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="bg-gray-200 mx-auto h-screen flex justify-center items-center">
|
||||
<div class="w-96 m-auto bg-marine rounded p-4 mt-10 shadow-xl text-white">
|
||||
<div class="text-3xl font-bold text-center mb-4">{{ __('Register') }}</div>
|
||||
<form method="POST" action="{{ route('register') }}">
|
||||
@csrf
|
||||
|
||||
<label for="email" class="mb-2 font-bold uppercase">{{ __('Name') }}</label>
|
||||
<div class="mb-4">
|
||||
<input id="name" type="text" class="w-full border-2 text-black border-marine-light rounded p-2 @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autofocus>
|
||||
@error('name')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<label for="email" class="mb-2 font-bold uppercase">{{ __('E-Mail') }}</label>
|
||||
<div class="mb-4">
|
||||
<input id="email" type="email" class="w-full border-2 text-black border-marine-light rounded p-2 @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
|
||||
@error('email')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<label for="password" class="mb-2 font-bold uppercase">{{ __('Password') }}</label>
|
||||
<div class="mb-4">
|
||||
<input id="password" type="password" class="w-full border-2 text-black border-marine-light rounded p-2 @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
|
||||
|
||||
@error('password')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<label for="password-confirm" class="mb-2 font-bold uppercase">{{ __('Password') }}</label>
|
||||
<div class="mb-4">
|
||||
<input id="password-confirm" type="password" class="w-full border-2 text-black border-marine-light rounded p-2 @error('password_confirmation') is-invalid @enderror" name="password_confirmation" required autocomplete="new-password">
|
||||
|
||||
@error('password_confirmation')
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $message }}</strong>
|
||||
</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="flex justify-between">
|
||||
<button type="submit" class="btn-primary">
|
||||
{{ __('Register') }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user