<div class="modal fade admin-query" id="editType">
    <div class="modal-dialog modal_1000px modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">{{__('common.Update')}} {{__('noticeboard.Noticeboard')}}</h4>
                <button type="button" class="close " data-bs-dismiss="modal">
                    <i class="ti-close "></i>
                </button>
            </div>

            <div class="modal-body">
                <form action="{{route('noticeboard.type.update')}}" method="POST"
                      enctype="multipart/form-data">
                    @csrf
                    <input type="hidden" name="id" value="{{old('id')}}" id="noticeTypeId">
                    <div class="row">
                        <div class="col-xl-12">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label"
                                       for="">{{__('common.Title')}} <strong
                                        class="text-danger">*</strong></label>
                                <input class="primary_input_field"
                                       value="{{old('title')}}" name="title"
                                       placeholder="-" id="noticeTitle"
                                       type="text" {{$errors->first('title') ? 'autofocus' : ''}}>
                            </div>
                        </div>
                        <div class="col-xl-12">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label"
                                       for="">{{__('common.Color')}} <strong
                                        class="text-danger">*</strong></label>
                                <input class="primary_input_field"
                                       value="{{old('color')}}" name="color"
                                       placeholder="-" id="noticeColor"
                                       type="color" {{$errors->first('color') ? 'autofocus' : ''}}>
                            </div>
                        </div>
                    </div>

                    <div class="col-lg-12 text-center pt_15">
                        <div class="d-flex justify-content-center">
                            <button class="primary-btn semi_large2  fix-gr-bg"
                                    id="save_button_parent" type="submit"><i
                                    class="ti-check"></i> {{__('common.Update')}} {{__('noticeboard.Notice Type')}}
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
