<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('courses/Courses_controller/update_courses_form/' . $data->courses_id) ?>


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

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

                    </div>

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

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

                    </div>

                </div>

                <div class="form-group row">
                    <label for="date" class="col-sm-3 col-form-label">
                        <?php echo display('date') ?></label>
                    <div class="col-sm-9">
                        <input type="text" name="date" id="date" class="datepicker form-control"
                               value="<?php echo $data->date ?>">

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

                    <label for="employee_id" class="col-sm-3 col-form-label">
                        <?php echo "Assign Course" ?></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>


     