<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row">
            <div class="col-md-12">
                <div class="portlet box blue">
                    <div class="portlet-title" style="height:5px">
                        <div class="caption">
                            <i class="fa fa-edit"></i> Patient History
                        </div>
                    </div>
                    <div class="portlet-body clinick " >
                        <input type="hidden" id="controllName" value="infertility"/>

                        <table class="table table-striped table-hover table-bordered">
                            <thead>
                                <tr>
                                    <th style="width: 12%;">
                                        Date
                                    </th>
                                    <th>
                                        Diagnosis
                                        <button type="button" class="btn btn-xs blue" id="addDiagnosisSimple"><i class="fa fa-plus"></i></button>
                                    </th>
                                    <th style="width: 1%;">
                                        Delete
                                    </th>
                                </tr>
                            </thead>
                            <tbody id="diagnosisBody">
                                {if $simpleDiagnosis}
                                {foreach  $simpleDiagnosis  as $diag}
                                <tr>
                                    <td>
                                        <input type="text" class="form-control datepicker updateElement" data-id="{$diag->id}" data-colName="date" data-tableName="simplediagnosis" value="{$diag->date}" readonly/>
                                    </td>
                                    <td>
                                        <textarea class="form-control updateElement" rows="2" data-id="{$diag->id}" data-colName="diagnosis" data-tableName="simplediagnosis" placeholder="Enter Diagnosis">{$diag->diagnosis}</textarea>
                                    </td>
                                    <td>
                                        <a class="btn grey-cascade btn-xs deletemsgEX" data-id="{$diag->id}" style=" float: left;" href="#" data-link="followup" data-fn="del" data-tableName="simplediagnosis">
                                            <i class="fa fa-close"></i>
                                        </a>
                                    </td>
                                </tr>
                                {/foreach}
                                {/if}

                            </tbody>
                        </table>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>






