2021-05-03 12:53:40 +00:00
|
|
|
@extends('layouts.auth')
|
|
|
|
|
|
|
|
@section('htmlheader_title')
|
|
|
|
Register
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
2021-06-13 13:00:26 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-6 m-auto">
|
|
|
|
<div class="greyframe titledbox shadow0xb0 text-center">
|
|
|
|
<h2 class="cap">Register</h2>
|
2021-05-03 12:53:40 +00:00
|
|
|
|
2021-06-13 13:00:26 +00:00
|
|
|
<form class="row g-0 needs-validation" method="post" novalidate>
|
2021-06-14 05:46:18 +00:00
|
|
|
@csrf
|
2021-05-03 12:53:40 +00:00
|
|
|
|
|
|
|
<div class="row">
|
2021-06-13 13:00:26 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<label for="name" class="form-label">Name</label>
|
|
|
|
<div class="input-group has-validation">
|
|
|
|
<span class="input-group-text"><i class="bi bi-person-square"></i></span>
|
2021-06-14 05:46:18 +00:00
|
|
|
<input type="text" class="form-control @error('name') is-invalid @enderror" id="name" placeholder="Full Name" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
|
2021-06-18 15:09:34 +00:00
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
|
@error('name')
|
2021-06-13 13:00:26 +00:00
|
|
|
{{ $message }}
|
2021-06-18 15:09:34 +00:00
|
|
|
@else
|
2021-06-13 13:00:26 +00:00
|
|
|
Your name is required.
|
2021-06-18 15:09:34 +00:00
|
|
|
@enderror
|
|
|
|
</span>
|
2021-05-03 12:53:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2021-06-13 13:00:26 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<label for="email" class="form-label">Email</label>
|
|
|
|
<div class="input-group has-validation">
|
|
|
|
<span class="input-group-text"><i class="bi bi-person-badge"></i></span>
|
2021-06-14 05:46:18 +00:00
|
|
|
<input type="text" class="form-control @error('email') is-invalid @enderror" id="email" placeholder="Email" name="email" value="{{ old('email') }}" required autocomplete="email">
|
2021-06-18 15:09:34 +00:00
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
|
@error('email')
|
2021-06-13 13:00:26 +00:00
|
|
|
{{ $message }}
|
2021-06-18 15:09:34 +00:00
|
|
|
@else
|
2021-06-13 13:00:26 +00:00
|
|
|
Your email is required.
|
2021-06-18 15:09:34 +00:00
|
|
|
@enderror
|
|
|
|
</span>
|
2021-05-03 12:53:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2021-06-13 13:00:26 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<label for="password" class="form-label">Password</label>
|
|
|
|
<div class="input-group has-validation">
|
|
|
|
<span class="input-group-text"><i class="bi bi-key-fill"></i></span>
|
|
|
|
<input type="password" class="form-control @error('password') is-invalid @enderror" id="password" placeholder="Password" name="password" required>
|
2021-06-18 15:09:34 +00:00
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
|
@error('password')
|
2021-06-13 13:00:26 +00:00
|
|
|
{{ $message }}
|
2021-06-18 15:09:34 +00:00
|
|
|
@else
|
2021-06-13 13:00:26 +00:00
|
|
|
Your password is required.
|
2021-06-18 15:09:34 +00:00
|
|
|
@enderror
|
|
|
|
</div>
|
2021-05-03 12:53:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
2021-06-13 13:00:26 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<label for="password" class="form-label">Password Again</label>
|
|
|
|
<div class="input-group has-validation">
|
|
|
|
<span class="input-group-text"><i class="bi bi-key-fill"></i></span>
|
|
|
|
<input type="password" class="form-control" id="password_confirmation" placeholder="Password Again" name="password_confirmation" required>
|
2021-06-18 15:09:34 +00:00
|
|
|
<span class="invalid-feedback" role="alert">
|
2021-06-13 13:00:26 +00:00
|
|
|
Please re-enter your password.
|
2021-06-18 15:09:34 +00:00
|
|
|
</span>
|
2021-05-03 12:53:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
2021-06-13 13:00:26 +00:00
|
|
|
<a href="{{ url('/') }}" class="btn btn-danger">Cancel</a>
|
2021-07-24 04:12:10 +00:00
|
|
|
<button type="submit" name="submit" class="btn btn-success float-end">Sign In</button>
|
2021-05-03 12:53:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2021-06-14 05:46:18 +00:00
|
|
|
<div class="row">
|
2021-06-13 13:00:26 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<a class="link-danger" href="{{ url('login') }}">Login</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-05-03 12:53:40 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|