forked from Coded/SIPRP
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							55 lines
						
					
					
						
							1.6 KiB
						
					
					
				
			
		
		
	
	
							55 lines
						
					
					
						
							1.6 KiB
						
					
					
				| <!-- 
 | |
| 
 | |
| Cirurgias-1
 | |
| 
 | |
| notice: only contents inside this div will be rendered/compiled  
 | |
| 
 | |
| usage example: <partials-renderer partial-id="Cirurgias-1"></partials-renderer>
 | |
| 
 | |
| -->
 | |
| <div id="Cirurgias-1">
 | |
| 
 | |
| 	<div class="panel panel-default">
 | |
| 		<div class="panel-heading">Cirurgias</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"> </th>
 | |
| 					</tr>
 | |
| 				</thead>
 | |
| 				<tfoot>
 | |
| 					<tr>
 | |
| 						<td colspan="5">
 | |
| 							<button
 | |
| 								ng-click="gridAddItem({}, editing.antecedentesPessoaisCirurgias, 'antecedentesPessoaisCirurgias', $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.antecedentesPessoaisCirurgias">
 | |
| 						<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.antecedentesPessoaisCirurgias, $event)"
 | |
| 								type="button" class="btn btn-danger btn-xs">
 | |
| 								<span class="glyphicon glyphicon-remove"></span>
 | |
| 							</button>
 | |
| 						</td>
 | |
| 					</tr>
 | |
| 				</tbody>
 | |
| 			</table>
 | |
| 		</div>
 | |
| 	</div>
 | |
| 
 | |
| </div>
 |