<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('certificate/Certificate_controller/update_certificate_form/' . $data->certificate_id) ?>


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

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

                    </div>

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

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

                    </div>

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

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

                    </div>

                </div>

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

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

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

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

                    </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>


     