@include('boilerplate::load.tinymce')


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

		{{ Form::label('description', 'Description') }}
		@include('components.form.textarea', ['name' => 'description', 'value' => isset($description) ? $description : null, 'class' => 'editor', 'required' => false])		

	</div>
</div>

<div class="row">
	<div class="col-md-8">
		<div class="float-right mt-3">
			@include('components.form.buttons.button-save')
		</div>
	</div>
</div>

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