-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddVotante.html
117 lines (112 loc) · 4.83 KB
/
addVotante.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
<title>Registrar Votante</title>
<meta charset="UTF-8">
<link rel="stylesheet" th:href="@{/bootstrap-5.2.1-dist/Sprint3Style.css}">
<link rel="stylesheet" th:href="@{/bootstrap-5.2.1-dist/css/bootstrap.css}">
</head>
<body id="addVot">
<div class="textClass">
<h2>Registrar Votante</h2>
</div>
<br>
<form th:action="@{/saveVotante}" method="post" th:object=${votante}>
<div id="conForm">
<div class="mb-3">
<label for="labidentificacion" class="form-label">Identificación:</label>
<input type="number" class="form-control" name="identificacion" id="identificacion"
aria-describedby="identificacionHelp" required>
<div id="identificacionHelp" class="form-text">Digite el número de Identificación del Votante</div>
</div>
<div class="mb-3">
<label for="labnombres" class="form-label">Nombres:</label>
<input type="text" class="form-control" name="nombres" id="nombres" aria-describedby="nombresHelp"
required>
<div id="nombresHelp" class="form-text">Digite los nombres del votante</div>
</div>
<div class="mb-3">
<label for="labapellidos" class="form-label">Apellidos:</label>
<input type="text" class="form-control" name="apellidos" id="apellidos" aria-describedby="apellidosHelp"
required>
<div id="apellidosHelp" class="form-text">Digite los apellidos del votante</div>
</div>
<div class="mb-3">
<label for="labfechaNac" class="form-label">Fecha de Nacimiento:</label>
<input type="date" class="form-control" name="fechaNac" id="fechaNac" aria-describedby="fechaNacHelp"
required>
<div id="fechaNacHelp" class="form-text">Seleccione la fecha de nacimiento del votante</div>
</div>
<div class="mb-3">
<label for="labfechaExpCed" class="form-label">Fecha de Expedición:</label>
<input type="date" class="form-control" name="fechaExpCed" id="fechaExpCed"
aria-describedby="fechaExpCedHelp" required>
<div id="fechaExpCedHelp" class="form-text">Seleccione la fecha de expedición del votante</div>
</div>
<div class="mb-3">
<label for="lablugarNac" class="form-label">Lugar de Nacimiento:</label>
<select class="form-select" aria-label="Default select example">
<option value="1">Bogotá D.C</option>
<option value="2">Barranquilla</option>
<option value="3">Bucaramanga</option>
<option value="4">Cali</option>
<option value="5">Cartegena</option>
<option value="6">Cucutá</option>
<option value="7">Medellín</option>
<option value="8">Santa Marta</option>
</select>
<div id="lugarNacHelp" class="form-text">Seleccione el lugar de nacimiento del votante</div>
</div>
<div class="mb-3">
<label for="lablugarRes" class="form-label">Lugar de Residencia:</label>
<select class="form-select" aria-label="Default select example">
<option value="1">Bogotá D.C</option>
<option value="2">Barranquilla</option>
<option value="3">Bucaramanga</option>
<option value="4">Cali</option>
<option value="5">Cartegena</option>
<option value="6">Cucutá</option>
<option value="7">Medellín</option>
<option value="8">Santa Marta</option>
</select>
<div id="lugarResHelp" class="form-text">Seleccione el lugar de residencia del votante</div>
</div>
<div class="mb-3">
<label for="labmovil" class="form-label">Teléfono:</label>
<input type="number" class="form-control" name="movil" id="movil" aria-describedby="movilHelp" required>
<div id="movilHelp" class="form-text">Digite el teléfono movil del votante</div>
</div>
<div class="mb-3">
<label for="labcorreo" class="form-label">Correo:</label>
<input type="email" class="form-control" name="correo" id="correo" aria-describedby="correoHelp"
required>
<div id="correoHelp" class="form-text">Digite el correo electrónico del votante</div>
</div>
<label for="sexo" class="form-label">Sexo:</label>
<div class="form-check">
<input class="form-check-input" type="radio" name="sexo" id="sexo" checked>
<label class="form-check-label" for="sexo">
Femenino
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="sexo" id="sexo">
<label class="form-check-label" for="sexo">
Masculino
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="sexo" id="sexo">
<label class="form-check-label" for="sexo">
No aplica
</label>
</div>
<div id="sexoHelp" class="form-text">Seleccione un sexo</div>
<br>
<!-- Botón Submit -->
<center><button type="submit" class="btn btn-outline-secondary">Agregar</button></center>
<br>
</form>
</body>
</html>