dop_info.blade.php
2.46 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
@extends('layout.frontend', ['title' => 'Моя анкета - РекаМоре'])
@section('scripts')
@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('workers.emblema')
</div>
@include('workers.menu', ['item' => 1])
</div>
<form class="cabinet__body" action="{{ route('worker.dop_info_save') }}" method="POST">
@csrf
@include('messages_error')
<input type="hidden" id="worker_id" name="worker_id" value="{{ $worker_id }}"/>
<div class="cabinet__body-item">
<div class="cabinet__anketa">
<h2 class="title cabinet__title">Добавление диплома</h2>
</div>
</div>
<div class="form-group__item">
<div class="select">
<div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
<label class="form-group__label">Образцы дипломов и документов</label>
</div>
<select class="js-select2" id="infoblok_id" name="infoblok_id">
@if ($Infoblocks->count())
@foreach ($Infoblocks as $it)
<option value="{{ $it->id }}">{{ $it->name }}</option>
@endforeach
@endif
</select>
</div>
</div>
<div class="cabinet__body-item">
<h4 class="cabinet__h4">Описание-комментарий</h4>
<textarea class="textarea" name="text" id="text" placeholder="Не указано"></textarea>
<div class="cabinet__buttons">
<button type="submit" class="button">Сохранить</button>
</div>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection