Projekt

Obecné

Profil

Stáhnout (5.59 KB) Statistiky
| Větev: | Tag: | Revize:
1
@extends('layouts.app')
2

    
3
@section('title', 'Register')
4

    
5
{{--@section('breadcrumb')
6
    <li class="breadcrumb-item active" aria-current="page">Register</li>
7
@endsection--}}
8

    
9
@section('content')
10
    <div class="vertical-center">
11
        <div class="container">
12
            <div class="row justify-content-center">
13
                <div class="col-md-8">
14
                    <div class="auth">
15
                        <div class="card">
16
                            {{--<div class="card-header">{{ __('Register') }}</div>--}}
17

    
18
                            <div class="card-body">
19
                                <form method="POST" action="{{ route('register') }}">
20
                                    @csrf
21

    
22
                                    <label for="logo" class="col-md-4 kaplicky">{{ __('kaplicky') }}</label>
23
                                    <div class="form-group row">
24
                                        <label for="name"
25
                                               class="col-md-4 col-form-label text text-md-right">{{ __('name') }}</label>
26

    
27
                                        <div class="col-md-6">
28
                                            <input id="name" type="text"
29
                                                   class="form-control text2 @error('name') is-invalid @enderror"
30
                                                   name="name"
31
                                                   value="{{ old('name') }}" {{--required autocomplete="name" autofocus--}}>
32

    
33
                                        </div>
34
                                    </div>
35

    
36
                                    <div class="form-group row">
37
                                        <label for="email"
38
                                               class="col-md-4 col-form-label text text-md-right">{{ __('e-mail') }}</label>
39

    
40
                                        <div class="col-md-6">
41
                                            <input id="email" type="email @error('email') is-invalid @enderror"
42
                                                   class="form-control text2 @error('email') is-invalid @enderror"
43
                                                   name="email"
44
                                                   value="{{ old('email') }}" {{--required autocomplete="email"--}}>
45

    
46
                                        </div>
47
                                    </div>
48

    
49
                                    <div class="form-group row">
50
                                        <label for="password"
51
                                               class="col-md-4 col-form-label text text-md-right">{{ __('password') }}</label>
52

    
53
                                        <div class="col-md-6">
54
                                            <input id="password" type="password"
55
                                                   class="form-control text2 @error('password') is-invalid @enderror"
56
                                                   name="password" {{--required autocomplete="new-password"--}}>
57

    
58
                                        </div>
59
                                    </div>
60

    
61
                                    <div class="form-group row">
62
                                        <label for="password-confirm"
63
                                               class="col-md-4 col-form-label text text-md-right">{{ __('confirm password') }}</label>
64

    
65
                                        <div class="col-md-6">
66
                                            <input id="password-confirm" type="password" class="form-control text2"
67
                                                   name="password_confirmation" {{--required autocomplete="new-password"--}}>
68
                                        </div>
69
                                    </div>
70

    
71
                                    <div class="row">
72
                                        <div class="col-md-12">
73
                                            <button type="submit" class="btn button-square">
74
                                                {{ __('general.register') }}
75
                                            </button>
76
                                        </div>
77
                                    </div>
78

    
79
                                    @if($errors->any())
80
                                        <div class="row">
81
                                            <div class="col-sm-12">
82
                                                <div class="text white pin-left" role="alert">
83
                                                    <div class="al">
84
                                                        @error('name')
85
                                                        <p class="text">{{ $message }}</p>
86
                                                        @enderror
87
                                                        @error('email')
88
                                                        <p class="text">{{ $message }}</p>
89
                                                        @enderror
90
                                                        @error('password')
91
                                                        <p class="text">{{ $message }}</p>
92
                                                        @enderror
93
                                                    </div>
94
                                                </div>
95
                                            </div>
96
                                        </div>
97
                                    @endif
98

    
99
                                </form>
100
                            </div>
101
                        </div>
102
                    </div>
103
                </div>
104
            </div>
105
        </div>
106
    </div>
107
@endsection
(2-2/3)