foca-abm-choferes-item.html
1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<h4 class="pt-4">Chofer</h4>
<form name="formChofer">
<input type="hidden" name="id" ng-model="chofer.id" />
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Transportista</label>
<div class="col-sm-4">
<select class="form-control" ng-model="chofer.transportista"
ng-options="transportista as transportista.NOM for transportista in transportistas"
>
</select>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Nombre</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="chofer.nombre"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">DNI</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="chofer.dni"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<label class="offset-sm-1 col-sm-2 col-form-label">Teléfono</label>
<div class="col-sm-4">
<input
class="form-control"
type="text"
teclado-virtual
ng-model="chofer.telefono"
ng-required="true"
/>
</div>
</div>
<div class="form-group row">
<div class="col-sm-7 text-right">
<button
class="btn btn-primary"
ng-click="guardar()"
ng-disabled="!formChofer.$valid"
>Guardar</button>
<button class="btn btn-default" ng-click="cancelar()">Cancelar</button>
</div>
</div>
</form>