<table  class="table table-bordered rtl">
    <tbody  >
        <tr>
            <th class="txtc wds8">المستخدم    </th>
            <td>{$data.userName}</td>

            <th class="txtc wds8">التاريخ    </th>
            <td class="wds8">{$data.followDate}</td>

            <th class="txtc wds8"> الوقت   </th>
            <td class="wds8">{$data.followTime}</td>

            <th class="txtc wds9">المصدر    </th>
            <td class="wds15">
                <div class="col-md-6">
                    <div class="md-radio-list">
                        <div class="md-radio">
                            <input type="radio" id="comment_from0_{$data.id}"  value="0" 
                                   class="md-radiobtn updateElement"  name="comment_from_{$data.id}" 
                                   data-colName="comment_from"  data-tableName="visits_follows"
                                   data-id="{$data.id}"  {if  $data.comment_from != 1 }  checked {/if} >
                            <label for="comment_from0_{$data.id}">
                                <span></span>
                                <span class="check"></span>
                                <span class="box"></span>
                                Patient</label>
                        </div>
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="md-radio-list">
                        <div class="md-radio">
                            <input type="radio" id="comment_from1_{$data.id}"  value="1" 
                                   class="md-radiobtn updateElement"  name="comment_from_{$data.id}" 
                                   data-colName="comment_from"  data-tableName="visits_follows"
                                   data-id="{$data.id}"   {if  $data.comment_from == 1 }  checked {/if} >
                            <label for="comment_from1_{$data.id}">
                                <span></span>
                                <span class="check"></span>
                                <span class="box"></span>
                                Doctor </label>
                        </div>
                    </div>
                </div>
            </td>
        </tr>

        <tr>
            <th class="txtc">التعليق    </th>
            <td colspan="7">
                <textarea class="form-control txtc updateElement" rows="2" data-id="{$data.id}" 
                          data-colName="comment" data-tableName="visits_follows" placeholder="ملاحظات"
                          data-toggle="popover" data-trigger="hover" data-placement="bottom"  
                          data-content="{$data.comment}">{$data.comment}
                </textarea>
            </td>
        </tr>
    </tbody>
</table>

<hr>