<table>
    <thead>
        <tr>
            <th>الوظيفة</th>
            <th>حذف</th>
        </tr>
    </thead>
    <tbody>
        {foreach $allHusbandJobs as $row}
        <tr>
            <td><a id="selectHusJobs" data-id="{$row->id}">{$row->title}</a></td>
            <td><a class="deleteelement" data-id="{$row->id}" data-link="patients" data-fun="delhusjob"><i class="fa fa-close"></i></a></td>
        </tr>
        {/foreach}
    </tbody>
</table>