<div class="row">
    <div class="col-sm-12 col-md-12">
        <div class="panel panel-bd">
            <div class="panel-heading">
                <div class="panel-title">
                    <h4><?php echo(!empty($title) ? $title : null) ?></h4>
                </div>
            </div>
            <div class="panel-body">

                <?php echo form_open('training/Training_controller/update_training_form/' . $data->training_id) ?>


                <input name="training_id" type="hidden" value="<?php echo $data->training_id ?>">
                <div class="form-group row">

                    <label for="course_name" class="col-sm-3 col-form-label">
                        <?php echo "Course Name" ?></label>
                    <div class="col-sm-9">
                        <input type="text" name="course_name" class=" form-control"
                               value="<?php echo $data->course_name ?>">

                    </div>

                </div>

                <div class="form-group row">
                    <label for="training_date" class="col-sm-3 col-form-label">
                        <?php echo "Training Date" ?></label>
                    <div class="col-sm-9">
                        <input type="text" name="training_date" id="training_date" class="datepicker form-control"
                               value="<?php echo $data->training_date ?>">

                    </div>
                </div>

                <div class="form-group row">

                    <label for="session_info" class="col-sm-3 col-form-label">
                        <?php echo "Session Info" ?></label>
                    <div class="col-sm-9">
                        <input type="text" name="session_info" class=" form-control"
                               value="<?php echo $data->session_info ?>">

                    </div>

                </div>
                <div class="form-group row">

                    <label for="comments" class="col-sm-3 col-form-label">
                        <?php echo "Comments" ?></label>
                    <div class="col-sm-9">
                        <textarea name="comments"
                                  class=" form-control"><?php echo $data->comments ?></textarea>

                    </div>

                </div>

                <div class="form-group row">
                    <label for="expiration_date" class="col-sm-3 col-form-label">
                        <?php echo "Expiration Date" ?></label>
                    <div class="col-sm-9">
                        <input type="text" name="expiration_date" id="expiration_date" class="datepicker form-control"
                               value="<?php echo $data->expiration_date ?>">

                    </div>
                </div>

                <div class="form-group row">

                    <label for="employee_id" class="col-sm-3 col-form-label">
                        <?php echo display('employee_name') ?></label>
                    <div class="col-sm-9">
                        <?php
                        $value = $bb['employee_id'];
                        echo form_dropdown('employee_id', $dropdown, $value, 'class="form-control"');
                        ?>

                    </div>

                </div>


                <div class="form-group form-group-margin text-right">

                    <button type="submit" class="btn btn-success w-md m-b-5"><?php echo display('update') ?></button>
                </div>

                <?php echo form_close() ?>


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


     