<script>
$('.pickupdate').datepicker({
    autoclose: true,
    container: '#ajax-modal',
    format: 'yyyy-mm-dd'
});
 </script>
<?php echo $this->flag;
echo $this->flag2;
?>
<form method="post" name="" action="/cancellationdeadline/edit-auto-release-date">
    <input type="hidden" name="booking_id" value="<?php echo $data['booking_id'];?>" />
<div style="color: green; padding: 10px;" class="success_msg_status"></div>
            <div class="modal-header <?php echo $flag;?>">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">Edit Auto-Release Booking Date </h4>
            </div>
            <div class="modal-body">

                    <div class="form-group clearfix margintopbottom20">
                        <div class="<?php echo $this->flag; ?>">
                            <lable> Edit/Update Date</lable>
                                
                       <input type="text" name="editdate" id="editdate" value="" class="form-control"/>
                            

                      </div>



            </div>
            <div class="modal-footer">
                <input type="hidden" id="user_id" value="" name="userid">

                <input type="submit" class="btn btn-danger" value="Submit" name="save" id="savestatus" />
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </form>

