@include('load.form.select2')

<div class="row mb-3">
	<div class="col-6">
		{{ Form::label('name', __('name')) }}
		@include('components.form.input-translate', ['name' => 'name', 'value' => $country['name'] ?? null, 'translations' => $country->translations['name'] ?? null, 'required' => true])
	</div>
	<div class="col-6">
		{{ Form::label('zone', __('zone')) }}
		@include('components.form.select', ['name' => 'zone', 'value' => $country['zone_id'] ?? null, 'list' => $zones ?? null, 'required' => true])
	</div>
</div>

<div class="row mb-3">
	<div class="col-6">
		{{ Form::label('name', __('region')) }}
		@include('components.form.select', ['name' => 'region', 'value' => $country['region'] ?? null, 'list' => $regions ?? null, 'required' => true])
	</div>
	<div class="col-6">
		{{ Form::label('nale', __('subregion')) }}
		@include('components.form.select', ['name' => 'zone', 'value' => $country['subregion'] ?? null, 'list' => $subregions ?? null, 'required' => true])
	</div>
</div>

@push('js')
	<script>
		$(function() {
			initSelect2();
		});
	</script>
@endpush