You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SIPRP/trunk/SiprpWebFichasClinicas/WebContent/static/html/app/partials/Fracturas-1.html

55 lines
1.6 KiB

<!--
Fracturas-1
notice: only contents inside this div will be rendered/compiled
usage example: <partials-renderer partial-id="Fracturas-1"></partials-renderer>
-->
<div id="Fracturas-1">
<div class="panel panel-default">
<div class="panel-heading">Fracturas</div>
<div class="panel-body">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th class="col-md-2">Data/Ano</th>
<th class="col-md-9">Motivo Diagnóstico</th>
<th class="col-md-1">&nbsp;</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="5">
<button
ng-click="gridAddItem({}, editing.antecedentesPessoaisFracturas, 'antecedentesPessoaisFracturas', $event)"
type="button" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-plus"></span>Adicionar
</button>
</td>
</tr>
</tfoot>
<tbody>
<tr ng-repeat="item in editing.antecedentesPessoaisFracturas">
<td><input ng-model="item.data" data-required="true"
data-regexp="^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$"
type="text" class="form-control" datepicker /></td>
<td><input ng-model="item.motivo_diagnostico"
data-required="true" type="text" class="form-control" /></td>
<td>
<button
ng-click="gridRemoveItem($index, editing.antecedentesPessoaisFracturas, $event)"
type="button" class="btn btn-danger btn-xs">
<span class="glyphicon glyphicon-remove"></span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>