source: resources/views/auth/manager/register.blade.php@ dfae77e

Last change on this file since dfae77e was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago
  • Initial commit;
  • Property mode set to 100644
File size: 4.3 KB
RevLine 
[dfae77e]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('manager.register.submit') }}">
12 @csrf
13
14 <input type="hidden" name="token" value="{{ $token }}">
15 <div class="row mb-3">
16 <label for="name" class="col-md-4 col-form-label text-md-end">{{ __('Name') }}</label>
17
18 <div class="col-md-6">
19 <input id="name" type="text"
20 class="form-control @error('name') is-invalid @enderror" name="name"
21 value="{{ old('name') }}" required autocomplete="name" autofocus>
22
23 @error('name')
24 <span class="invalid-feedback" role="alert">
25 <strong>{{ $message }}</strong>
26 </span>
27 @enderror
28 </div>
29 </div>
30
31 <div class="row mb-3">
32 <label for="email"
33 class="col-md-4 col-form-label text-md-end">{{ __('Email Address') }}</label>
34
35 <div class="col-md-6">
36 <input id="email" type="email"
37 class="form-control @error('email') is-invalid @enderror" name="email"
38 value="{{ $email ?? old('email') }}" required autocomplete="email">
39
40 @error('email')
41 <span class="invalid-feedback" role="alert">
42 <strong>{{ $message }}</strong>
43 </span>
44 @enderror
45 </div>
46 </div>
47
48 <div class="row mb-3">
49 <label for="password"
50 class="col-md-4 col-form-label text-md-end">{{ __('Password') }}</label>
51
52 <div class="col-md-6">
53 <input id="password" type="password"
54 class="form-control @error('password') is-invalid @enderror" name="password"
55 required autocomplete="new-password">
56
57 @error('password')
58 <span class="invalid-feedback" role="alert">
59 <strong>{{ $message }}</strong>
60 </span>
61 @enderror
62 </div>
63 </div>
64
65 <div class="row mb-3">
66 <label for="password-confirm"
67 class="col-md-4 col-form-label text-md-end">{{ __('Confirm Password') }}</label>
68
69 <div class="col-md-6">
70 <input id="password-confirm" type="password" class="form-control"
71 name="password_confirmation" required autocomplete="new-password">
72 </div>
73 </div>
74
75 <div class="row mb-0">
76 <div class="col-md-6 offset-md-4">
77 <button type="submit" class="btn btn-primary">
78 {{ __('Register') }}
79 </button>
80 </div>
81 </div>
82 </form>
83 </div>
84 </div>
85 </div>
86 </div>
87 </div>
88@endsection
Note: See TracBrowser for help on using the repository browser.