dop_info.blade.php 2.13 KB
<h4 class="cabinet__h4">Дополнительная информация</h4>
<div class="cabinet__inputs">
    <div class="cabinet__inputs-item form-group">
        <label class="form-group__label">Верю</label>
        <div class="form-group__item">
            <div class="select">
                <select class="js-select2 sertificates_js">
                    <option value="0">Нет</option>
                    <option value="1" selected>Да</option>
                </select>
            </div>
        </div>
    </div>
    @if (isset($Worker[0]->infobloks))
        @if ($Worker[0]->infobloks->count())
            @php $i = 1; @endphp
            @foreach ($Worker[0]->infobloks as $info)
                <div class="cabinet__inputs-item form-group">
                    <label class="form-group__label">{{ $info->name }}</label>
                    <div class="form-group__item">
                        <div class="select">
                            <select class="js-select2 sertificates_js">
                                <option value="0">Нет</option>
                                <option value="1" selected>Да</option>
                            </select>
                        </div>
                    </div>
                </div>
                @php $i++; @endphp
            @endforeach
        @endif
    @endif

    <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" id="documents" name="documents">
                    @if ($Infoblocks->count())
                        @foreach ($Infoblocks as $it)
                            <option value="{{ $it->id }}">{{ $it->name }}</option>
                        @endforeach
                    @endif
                </select>
            </div>
        </div>
    </div>
    <div name="btn_new_diplom" data-val="{{ $Worker[0]->id }}" id="btn_new_diplom" class="button button_light">
        Добавить документ
    </div>
</div>