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

		<div class="row mb-3">
			<div class="col-12">
				{{ Form::label('latin', 'Nom latin') }}
				@include('components.form.input', ['name' => 'latin', 'value' => $family['latin'] ?? null, 'required' => true])		
			</div>
		</div>
		
		<div class="row mb-3">
			<div class="col-12">
				{{ Form::label('description', 'Description') }}
				@include('components.form.textarea', ['name' => 'description', 'value' => $family['description'] ?? null, 'class' => 'editor', 'required' => true])
			</div>
		</div>

	</div>
</div>

@include('components.save')

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


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