send_all.blade.php
3 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
@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('employers.emblema')
</div>
@include('employers.menu', ['item' => 9])
</div>
<form class="cabinet__body" action="{{ route('employer.send_all_post') }}" method="POST">
@csrf
<div class="cabinet__body-item">
<div class="cabinet__descr">
<h2 class="title cabinet__title">Рассылка сообщений</h2>
@include('messages_error')
</div>
</div>
<div class="cabinet__body-item">
<div class="cabinet__inputs">
<div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
<label class="form-group__label">Выберите должность</label>
<div class="form-group__item">
<div class="select">
<select class="js-select2" name="job_title_ids[]" id="job_title_ids[]" multiple="multiple">
@if ($job_titles->count())
@foreach($job_titles as $job_title)
<option value="{{ $job_title->id }}">{{ $job_title->name }}</option>
@endforeach
@endif
</select>
</div>
</div>
</div>
<div class="cabinet__inputs-item cabinet__inputs-item_fullwidth form-group">
<label class="form-group__label">Введите текст сообщения</label>
<div class="form-group__item">
<textarea class="textarea" name="message_text" required>{{ old('message_text') ?? '' }}</textarea>
</div>
</div>
</div>
<button type="submit" class="button cabinet__submit">Отправить</button>
</div>
</form>
</div>
</div>
</section>
</div>
@endsection