62 lines
2.5 KiB
PHP
62 lines
2.5 KiB
PHP
@extends('layouts.auth')
|
|
|
|
@section('title', 'Register')
|
|
@section('subtitle', 'Create your account to start tracking your games.')
|
|
|
|
@section('content')
|
|
<form method="POST" action="{{ route('register') }}">
|
|
@csrf
|
|
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label text-gray-400">Name</label>
|
|
<input id="name" type="text" class="form-control bg-dark text-white border-gray-800 @error('name') is-invalid @enderror"
|
|
name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
|
|
@error('name')
|
|
<span class="invalid-feedback" role="alert">
|
|
<strong>{{ $message }}</strong>
|
|
</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label text-gray-400">Email</label>
|
|
<input id="email" type="email" class="form-control bg-dark text-white border-gray-800 @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>
|
|
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label text-gray-400">Password</label>
|
|
<input id="password" type="password" class="form-control bg-dark text-white border-gray-800 @error('password') is-invalid @enderror"
|
|
name="password" required autocomplete="new-password">
|
|
@error('password')
|
|
<span class="invalid-feedback" role="alert">
|
|
<strong>{{ $message }}</strong>
|
|
</span>
|
|
@enderror
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
<label for="password-confirm" class="form-label text-gray-400">Confirm Password</label>
|
|
<input id="password-confirm" type="password" class="form-control bg-dark text-white border-gray-800"
|
|
name="password_confirmation" required autocomplete="new-password">
|
|
</div>
|
|
|
|
<div class="d-grid gap-2">
|
|
<button type="submit" class="btn btn-gradient">
|
|
Register
|
|
</button>
|
|
</div>
|
|
</form>
|
|
|
|
<div class="text-center mt-4">
|
|
<p class="text-gray-400 mb-0">Already have an account?
|
|
<a href="{{ route('login') }}" class="text-decoration-none gradient-text">Login</a>
|
|
</p>
|
|
</div>
|
|
@endsection
|