<div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
            <div style="color: green; padding: 10px;" class="success_msg"></div>
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">User Type</h4>
            </div>
            <div class="modal-body">
                <div class="col-sm-12 no-padding">
                    <div class="form-group clearfix margintopbottom20">
                        <?php foreach ($user_type_status as $user_id => $val) {
                            ?>

                            <div class="col-sm-4">

                                <div class="carbooking">
                                    <input type="radio" name="user_type" id="<?php echo $val; ?>" value="<?php echo $user_id; ?>">
                                    <label for="<?php echo $val; ?>"><span class="radio"><?php echo $this->translate($val); ?></span></label>
                                </div>

                            </div>

                        <?php } ?>


                    </div>


                </div>
                
                <div class="col-sm-12 no-padding">
                    <h4>User Grade</h4><br/>
                    <div class="form-group clearfix margintopbottom20">
                        <?php 
                        if(!empty($user_type_grade)){
                        foreach ($user_type_grade as $key => $grade) { ?>
                            <div class="col-sm-4">
                                <div class="carbooking">
                                    <input type="radio" name="user_grade" id="<?php echo $grade; ?>" value="<?php echo $key; ?>">
                                    <label for="<?php echo $grade; ?>">
                                        <span class="radio"><?php echo $this->translate($grade); ?></span>
                                    </label>
                                </div>
                            </div>
                        <?php }} ?>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <input type="hidden" id="userid" value="" name="userid">
                <input type="button" class="btn btn-danger" value="Save" name="save" id="setusertype" />
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>

    </div>