{{ Form::open(['route' => 'mobileservice.faq-custom-setup.custom-pages.store', 'method' => 'post', 'class' => 'needs-validation', 'novalidate']) }}
<div class="modal-body">
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                {{ Form::label('name', __('Page Name'), ['class' => 'form-label']) }}<x-required></x-required>
                {{ Form::text('name', '', ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter page name')]) }}
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                {{ Form::label('title', __('Page Title'), ['class' => 'form-label']) }}<x-required></x-required>
                {{ Form::text('title', '', ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter page title')]) }}
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                <label class="form-label me-2 mb-0">{{ __('Show in Footer') }}:</label>
                <div class="form-check form-switch custom-switch-v1">
                    {{ Form::checkbox('show_in_footer', 1, false, ['class' => 'form-check-input', 'id' => 'show_in_footer']) }}
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="form-group">
                {{ Form::label('contents', __('Page Content'), ['class' => 'form-label']) }}
                {{ Form::textarea('contents', '', ['class' => 'form-control summernote', 'rows' => 5, 'placeholder' => __('Enter page content...')]) }}
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button type="button" class="btn btn-light" data-bs-dismiss="modal">{{ __('Cancel') }}</button>
    <button type="submit" class="btn btn-primary">{{ __('Create') }}</button>
</div>
{{ Form::close() }}
