<span id="join-<?php echo $wo['join']['id']?>">
    <button type="button" onclick="Wo_RegisterGroupJoin(<?php echo $wo['join']['id'];?>)" class="btn btn-active btn-default btn-sm">
       <i class="fa fa-check progress-icon" data-icon="check"></i>
       <span class="button-text"> <?php echo $wo['lang']['joined'];?></span>
    </button>
</span>