<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">&times;</button>
    <h4 class="modal-title"></h4>
</div>

<form id="add_resign_form">
    <div class="modal-body">
        <div class="row">
            <div class="col-md-4">
                <div class="form-group">
                    <label for="name">نام <span class="text-danger">*</span></label>
                    <input type="text" id="name" autofocus class="form-control" name="name"
                        value="{{ $driver->name }}" readonly>
                    <span class="text-danger u_error" id="u_name_error"></span>
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    <label for="name">چھوڑنے کی تاریخ: <span class="text-danger">*</span></label>
                    <input type="date" id="resign_date" autofocus class="form-control" name="resign_date" value="{{  $driver->resign_date }}">
                    <span class="text-danger u_error" id="u_resign_date_error"></span>
                </div>
            </div>

        </div>
    </div>
    <div class="modal-footer">
        @csrf
        <button id="update_btn" class="btn btn-sm btn-info" type="submit">
            اپ ڈیٹ
        </button>
        <input type="hidden" name="update_id" value="{{ $driver->id }}">
    </div>
</form>
