blob: 20324410f0f9a3ac2e004f97d6dec8bfb5868956 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
@extends('template')
@section('body')
<main>
<div class="form-container">
<h1 style="font-size: 1.5rem; margin-bottom: 1.5rem;">Register</h1>
<form method="POST" action="{{ route('register') }}">
@csrf
<div class="form-group">
<label for="name" class="form-label">Name</label>
<input type="text"
id="name"
name="name"
value="{{ old('name') }}"
class="form-input @error('name') form-input-error @enderror"
required
autofocus>
@error('name')
<div class="form-error">{{ $message }}</div>
@enderror
</div>
<div class="form-group">
<label for="email" class="form-label">Email</label>
<input type="email"
id="email"
name="email"
value="{{ old('email') }}"
class="form-input @error('email') form-input-error @enderror"
required>
@error('email')
<div class="form-error">{{ $message }}</div>
@enderror
</div>
<div class="form-group">
<label for="password" class="form-label">Password</label>
<input type="password"
id="password"
name="password"
class="form-input @error('password') form-input-error @enderror"
required>
@error('password')
<div class="form-error">{{ $message }}</div>
@enderror
</div>
<div class="form-group">
<label for="password_confirmation" class="form-label">Confirm Password</label>
<input type="password"
id="password_confirmation"
name="password_confirmation"
class="form-input @error('password_confirmation') form-input-error @enderror"
required>
@error('password_confirmation')
<div class="form-error">{{ $message }}</div>
@enderror
</div>
<div class="form-group" style="display: flex; justify-content: space-between; align-items: center;">
<a href="{{ route('login') }}"
class="form-helper" style="margin: 0;">
Already registered?
</a>
<button type="submit" class="form-button form-button-primary">
Register
</button>
</div>
</form>
</div>
</main>
@endsection
|