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

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

    </div>
</div>

<div class="row">
    <div class="col-md-8">
        <div class="float-right mt-3">
            <x-save />
        </div>
    </div>
</div>

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

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