prev_company_edit_form.blade.php
2.45 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
@extends('workers.cabinet_layout', ['title' => 'Рекомендация - РекаМоре'])
@section('cabinet_content')
<form id="submit_form" name="submit_form" action="{{ route('worker.update_prev_company', ['doc' => $doc]) }}" class="cabinet__inputs" method="POST">
@csrf
<input type="hidden" name="worker_id" id="worker_id" class="input" value="{{ $worker->id }}">
<div class="cabinet__body-item">
<div class="cabinet__anketa">
<h2 class="title cabinet__title mb-0">Рекомендация</h2>
</div>
</div>
<div class="cabinet__body-item">
<div class="cabinet__inputs">
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Название компании:<span class="red">*</span></label>
<div class="form-group__item">
<input type="text" name="name_company" id="name_company" class="input" value="{{ old('name_company') ?? $doc->name_company ?? '' }}">
</div>
</div>
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">ФИО сотрудника:<span class="red">*</span></label>
<div class="form-group__item">
<input type="text" name="direct" id="direct" class="input" value="{{ old('direct') ?? $doc->direct ?? '' }}">
</div>
</div>
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Должность сотрудника:</label>
<div class="form-group__item">
<input type="text" name="telephone" id="telephone" class="input" value="{{ old('telephone') ?? $doc->telephone ?? '' }}">
</div>
</div>
<div class="cabinet__inputs-item form-group">
<label class="form-group__label">Телефон сотрудника:</label>
<div class="form-group__item">
<input type="text" name="telephone2" id="telephone2" class="input" value="{{ old('telephone2') ?? $doc->telephone2 ?? '' }}">
</div>
</div>
<div class="flex">
<button type="submit" class="button mr-10">Сохранить</button>
<a href="{{ route('worker.cabinet') }}" class="button button_light">Отменить</a>
</div>
</div>
</div>
</form>
@endsection