info.blade.php
5.01 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@extends('layout.frontend', ['title' => 'Кабинет работодателя - РекаМоре'])
@section('scripts')
<script src="https://cdn.ckeditor.com/ckeditor5/23.0.0/classic/ckeditor.js"></script>
<script>
ClassicEditor
.create( document.querySelector( '#text' ) )
.catch( error => {
console.error( error );
} );
</script>
@endsection
@section('content')
<section class="cabinet">
<div class="container">
<ul class="breadcrumbs cabinet__breadcrumbs">
<li><a href="{{ route('index') }}">Главная</a></li>
<li><b>Личный кабинет</b></li>
</ul>
<div class="cabinet__wrapper">
<div class="cabinet__side">
<div class="cabinet__side-toper">
@include('employers.emblema')
</div>
@include('employers.menu', ['item' => 0])
</div>
<div class="cabinet__body">
@include('messages_error')
<form action="{{ route('employer.employer_info_save', ['user' => $user_info->id]) }}" method="POST" enctype="multipart/form-data">
@csrf
<div class="cabinet__body-item">
<div class="cabinet__descr">
<h2 class="title cabinet__title">Личные данные</h2>
<p class="cabinet__text">Все поля обязательны для заполнения *</p>
</div>
<div class="cabinet__inputs">
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Фамилия контактера</label>
<div class="form-group__item">
<input type="text" class="input" name="surname" id="surname" placeholder="Иванов" value="{{ old('surname') ?? $user_info->surname ?? '' }}" required>
@error('surname')
<span class="text-xs text-red-600">
{{ $message }}
</span>
@enderror
</div>
</div>
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Имя контактера</label>
<div class="form-group__item">
<input type="text" name="name_man" class="input" placeholder="Андрей" value="{{ old('name_man') ?? $user_info->name_man ?? '' }}" required>
@error('name_man')
<span class="text-xs text-red-600">
{{ $message }}
</span>
@enderror
</div>
</div>
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Отчество контактера</label>
<div class="form-group__item">
<input type="text" name="surname2" class="input" placeholder="Васильевич" value="{{ old('surname2') ?? $user_info->surname2 ?? '' }}">
@error('surname2')
<span class="text-xs text-red-600">
{{ $message }}
</span>
@enderror
</div>
</div>
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Номер телефона</label>
<div class="form-group__item">
<input type="tel" name="telephone" class="input" placeholder="+7 (___) ___-__-__" value="{{ old('telephone') ?? $user_info->telephone ?? '' }}" required>
@error('telephone')
<span class="text-xs text-red-600">
{{ $message }}
</span>
@enderror
</div>
</div>
</div>
</div><br>
<button type="submit" class="button cabinet__submit">Сохранить изменения</button>
</form>
</div>
</div>
</div>
</section>
</div>
<!-- END TOP WRAPPER -->
@endsection