dop_info.blade.php 2.46 KB
@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