<div class="row">
    <div id="formHtml" class="col-lg-12">
        <div class="white-box">
            <div class="row">
                <div class="col-lg-12">
                    <div class="main-title">
                        <h3 class="mb-20">
                            {{ __('common.edit') }} </h3>
                    </div>
                </div>
            </div>
            <form action="{{route('ticket.priority.update')}}" method="POST" id=" ">
                @csrf
                <div class="add-visitor">
                    <div class="row">
                        <input type="hidden" name="id" value="{{$edit->id}}">
                        <div class="col-lg-12">
                            <div class="primary_input mb-25">
                                <label class="primary_input_label" for="name">{{ __('common.Name') }} <span
                                        class="text-danger">*</span></label>
                                <input class="primary_input_field" type="text" id="name" name="name"
                                       autocomplete="off" value="{{$edit->name}}"
                                       placeholder="{{ __('common.Name') }}">
                            </div>

                            <span class="text-danger" id="error_name"></span>

                        </div>



                    </div>
                    <div class="row ">
                        @if (permissionCheck('ticket.priority.update'))
                            <div class="col-lg-12 text-center d-flex justify-content-center align-content-center">
                                <button id="submit_btn" type="submit" class="primary-btn fix-gr-bg"
                                        data-bs-toggle="tooltip" title="" data-original-title="">
                                    <i class="ti-check"></i>
                                    {{ __('common.Update') }} </button>
                            </div>
                        @endif
                    </div>
                </div>
            </form>

        </div>
    </div>
</div>
