1 | @extends('layouts.app')
|
---|
2 |
|
---|
3 | @section('content')
|
---|
4 | <div class="container">
|
---|
5 | <div class="row justify-content-center">
|
---|
6 | <div class="col-md-8">
|
---|
7 | <div class="card">
|
---|
8 | <div class="card-header">{{ __('Register') }}</div>
|
---|
9 |
|
---|
10 | <div class="card-body">
|
---|
11 | <form method="POST" action="{{ route('register') }}">
|
---|
12 | @csrf
|
---|
13 |
|
---|
14 | <div class="row mb-3">
|
---|
15 | <label for="name" class="col-md-4 col-form-label text-md-end">{{ __('Name') }}</label>
|
---|
16 |
|
---|
17 | <div class="col-md-6">
|
---|
18 | <input id="name" type="text" class="form-control @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
|
---|
19 |
|
---|
20 | @error('name')
|
---|
21 | <span class="invalid-feedback" role="alert">
|
---|
22 | <strong>{{ $message }}</strong>
|
---|
23 | </span>
|
---|
24 | @enderror
|
---|
25 | </div>
|
---|
26 | </div>
|
---|
27 |
|
---|
28 | <div class="row mb-3">
|
---|
29 | <label for="email" class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>
|
---|
30 |
|
---|
31 | <div class="col-md-6">
|
---|
32 | <input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
|
---|
33 |
|
---|
34 | @error('email')
|
---|
35 | <span class="invalid-feedback" role="alert">
|
---|
36 | <strong>{{ $message }}</strong>
|
---|
37 | </span>
|
---|
38 | @enderror
|
---|
39 | </div>
|
---|
40 | </div>
|
---|
41 |
|
---|
42 | <div class="row mb-3">
|
---|
43 | <label for="password" class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
|
---|
44 |
|
---|
45 | <div class="col-md-6">
|
---|
46 | <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
|
---|
47 |
|
---|
48 | @error('password')
|
---|
49 | <span class="invalid-feedback" role="alert">
|
---|
50 | <strong>{{ $message }}</strong>
|
---|
51 | </span>
|
---|
52 | @enderror
|
---|
53 | </div>
|
---|
54 | </div>
|
---|
55 |
|
---|
56 | <div class="row mb-3">
|
---|
57 | <label for="password-confirm" class="col-md-4 col-form-label text-md-end">{{ __('Confirm Password') }}</label>
|
---|
58 |
|
---|
59 | <div class="col-md-6">
|
---|
60 | <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
|
---|
61 | </div>
|
---|
62 | </div>
|
---|
63 |
|
---|
64 | <div class="row mb-3">
|
---|
65 | <label for="inlineRadio1" class="col-md-4 col-form-label text-md-end">{{ __('Account Type') }}</label>
|
---|
66 |
|
---|
67 | <div class="col-md-6 align-self-center">
|
---|
68 | <div class="form-check form-check-inline">
|
---|
69 | <input class="form-check-input" type="radio" name="account_type" id="inlineRadio1" value="artist">
|
---|
70 | <label class="form-check-label" for="inlineRadio1">Artist</label>
|
---|
71 | </div>
|
---|
72 | <div class="form-check form-check-inline">
|
---|
73 | <input class="form-check-input" type="radio" name="account_type" id="inlineRadio2" value="organizer">
|
---|
74 | <label class="form-check-label" for="inlineRadio2">Organizer</label>
|
---|
75 | </div>
|
---|
76 | </div>
|
---|
77 | </div>
|
---|
78 |
|
---|
79 | <div class="row mb-0">
|
---|
80 | <div class="col-md-6 offset-md-4">
|
---|
81 | <button type="submit" class="btn btn-primary">
|
---|
82 | {{ __('Register') }}
|
---|
83 | </button>
|
---|
84 | </div>
|
---|
85 | </div>
|
---|
86 | </form>
|
---|
87 | </div>
|
---|
88 | </div>
|
---|
89 | </div>
|
---|
90 | </div>
|
---|
91 | </div>
|
---|
92 | @endsection
|
---|