diploms_dop.blade.php
1.33 KB
@if (isset($worker->infobloks))
@if ($worker->infobloks->count())
@php $i = 1; @endphp
@foreach ($worker->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 data-info="{{ $info->id }}" 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>