<div class="row">
	<div class="col-md-8">

		<div class="row">
			<div class="col-md-6">
				{{ Form::label('name', 'Groupe') }}
				@include('components.form.select', ['name' => 'tag_group_id', 'list' => $tag_groups, 'value' => $tag_group_id ?? null, 'required' => true, 'with_empty' => '', 'class' => 'select2'])
			</div>

			<div class="col-md-6">
				{{ Form::label('name', 'Nom') }}
				@include('components.form.input', ['name' => 'name', 'value' => $name ?? null, 'required' => true])
			</div>
		</div>

	</div>
</div>

@include('components.save')

@include('load.form.select2')
@include('load.form.save')

@push('js')
	<script>
		$(function() {
			initSaveForm('#tag-form');
			initSelect2();
		});
	</script>
@endpush
