<?php if ($person_self_assessmet_skills) { ?>
<span class="col-sm-12" style="padding-top: 20px" id="View_Assessment_skill">
        <?php
        foreach ($person_self_assessmet_skills as $s_value) {
            echo '<span class="btn btn-success" style="margin-left: 5px; margin-bottom: 10px">' . $s_value->self_assessment_skills_name . '</span>';
        }
        ?>           
    </span>
<?php
} 