15 lines
577 B
PHP
Executable File
15 lines
577 B
PHP
Executable File
<div class="mb-3">
|
|
<label class="form-label">id Страны</label>
|
|
<select class="form-select mb-2" name="country_id">
|
|
<option>Выбрать страну</option>
|
|
@foreach($countries as $country)
|
|
<option value="{{$country->id}}" {{isset($region) && $region->country_id == $country->id ? 'selected' : ''}}>{{$country->id}}</option>
|
|
@endforeach
|
|
</select>
|
|
</div>
|
|
<div class="d-flex justify-content-between">
|
|
<button type="submit" class="btn btn-primary me-2">
|
|
@isset($region) Обновить @else Сохранить @endisset
|
|
</button>
|
|
</div>
|