<div id="editBottomNavigationModal" class="modal fade" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title" id="exampleModalLabel">{{ __('Edit Menu') }}</h3>
                <button type="button" class="btn-close" data-bs-dismiss="modal"
                        aria-label="Close"></button>
            </div>
            {{ Form::open(['id'=>'editBottomNavigationForm']) }}
            <div class="modal-body">
                <div class="alert alert-danger d-none hide" id="editBottomNavigationValidationErrorsBox"></div>
                <div class="row">
                    {{ Form::hidden('bottom_navigation_id', null, ['id' => 'bottomNavigationId']) }}
                    <div class="form-group col-md-12 mb-5">
                        {{ Form::label('title', __('Title').(':'), ['class' => 'form-label']) }}
                        <span class="required"></span>
                        {{ Form::text('title', null, ['id'=>'menuEditTitle','class' => 'form-control','required']) }}
                    </div>
                    <div class="form-group col-md-12 mb-5">
                        {{ Form::label('url', __('URL').(':'),['class' => 'form-label']) }}
                        {{ Form::text('url', null, ['id'=>'menuEditURL','class' => 'form-control']) }}
                    </div>
                    <div class="mb-5 form-group col-md-12" io-image-input="true">
                        <label for="exampleInputImage" class="form-label">Image:</label>
                        <div class="d-block">
                            <div class="image-picker">
                                <div class="image previewImage" id="editBottomImagePreview"
                                     style="background-image: url('{{asset('images/avatar.png') }}')"></div>
                                <span class="picker-edit rounded-circle text-gray-500 fs-small" title="edit">
                                    <label>
                                    <i class="fa-solid fa-pen" id="profileImageIcon"></i>
                                        <input type="file" id="appLogo" name="bottom_navigation_image"
                                               class="image-upload d-none" accept="image/*"/>
                                    </label>
                                </span>
                            </div>
                        </div>
                    </div>
                    <div class="mb-5 col-md-4">
                        <h5 class="form-check-label">Status</h5>
                        <div class="form-group d-flex">
                            <div class="form-check form-switch">
                                <input class="form-check-input" type="radio" name="status"
                                       id="menuEditStatus" value="1">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer pt-0">
                {{ Form::button(__('messages.common.save'), ['type' => 'submit','class' => 'btn btn-primary m-0','id' => 'btnBottomNavigationEditSave','data-loading-text' => "<span class='spinner-border spinner-border-sm'></span> Processing..."]) }}
                <button type="button" class="btn btn-secondary"
                        data-bs-dismiss="modal">{{ __('messages.common.cancel') }}</button>
            </div>
            {{ Form::close() }}
        </div>
    </div>
</div>
