postulante-form.jsp 28.5 KB
Newer Older
1 2 3
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
4 5 6 7 8 9 10 11 12
<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
13 14
    <title>Curriculum</title>
    <link href="../css/formPostulanteStyle.css" rel="stylesheet" type="text/css"/>
15
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.1/font/bootstrap-icons.css">
16
    <link rel="icon" href="../img/LogoRoshka.ico">
17 18
  </head>

Nelson Ruiz committed
19
  <body class="container">
20 21 22 23 24
    <div class="row">
      <div id="errorSection" class="col" tabindex="-1">

      </div>
    </div>
25 26
    <form name="postulante" method="post" class="needs-validation" novalidate>
                      <div class="container mt-3">
Nelson Ruiz committed
27 28
                          <div class="card p-3 text-center">
                              <div class="d-flex flex-row justify-content-center mb-3">
Nelson Ruiz committed
29
                                
Nelson Ruiz committed
30
                              </div>
31
                              <h4>Datos Personales</h4>
Nelson Ruiz committed
32
                              <div class="row">
33
                                  
Nelson Ruiz committed
34 35

                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
36
                                    <label for="nombre" class="form-label">Nombre</label>
37
                                    <input type="text" name="nombre" class="form-control  " id="nombre" required>
38
                                    
Nelson Ruiz committed
39 40
                                  </div>
                                  
Nelson Ruiz committed
41
                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
42
                                    <label for="apellido" class="form-label">Apellido</label>
43
                                    <input type="text" name="apellido" class="form-control  " id="apellido" required>
44
                                    
Nelson Ruiz committed
45 46 47
                                  </div>
          

Nelson Ruiz committed
48
                                  <div class="inputs mb-3 col-md-6">
49
                                    <label for="correo" class="form-label">Email</label>
50
                                    <input type="email" name="correo" class="form-control  " id="correo" required>
51
                                    
Nelson Ruiz committed
52
                                  </div>
53 54 55 56 57 58 59 60 61

                                  <div class="inputs mb-3 col-md-6"> 
                                    <label for="nacionalidad" class="form-label"> Nacionalidad</label> 
                                    <select name="nacionalidad" id="nacionalidad" class="bg-light">
                                      <c:forEach items="${nacionalidades}" var="nacionalidad">
                                        <option value="${nacionalidad.getDescripcion()}">${nacionalidad.getDescripcion()}</option>
                                      </c:forEach>
                                    
                                  </select> </div>
62 63 64

                                  <div class="inputs mb-3 col-md-6"> 
                                    <label for="tipoDocumento" class="form-label"> Tipo de documento</label> 
65
                                    <select name="tipoDocumento" id="tipoDocumento" class="bg-light" required>
66 67 68 69
                                        <option value='CI' selected>C.I</option>
                                        <option value='PAS'>Pasport</option>
                                        <option value='Otro'>Otro</option>
                                    </select> 
70
                                  </div>
Nelson Ruiz committed
71
                              
Nelson Ruiz committed
72
                                  <div class="inputs  mb-3 col-md-6">
73 74
                                    <label for="nroDocument" class="form-label">Numero de Documento</label>
                                    <input type="number" name="nroDocument" class="form-control  " id="nroDocument" required>
75
                                    
Nelson Ruiz committed
76 77
                                  </div>
                                  
78 79 80 81 82 83 84 85
                                  <div class="inputs mb-3 col-md-6"> 
                                    <label for="departamentos" class="form-label"> Departamentos</label> 
                                    <select  id="departamentos" class="bg-light">
                                      <c:forEach items="${departamentos}" var="departamentos">
                                        <option value="${departamentos.getId()}">${departamentos.getNombre()}</option>
                                      </c:forEach>
                                    
                                    </select> 
Nelson Ruiz committed
86
                                  </div>
87 88 89 90 91 92

                                  <div class="inputs mb-3 col-md-6"> 
                                    <label for="ciudad" class="form-label"> Ciudad</label> 
                                    <select name="ciudadId" id="ciudad" class="bg-light">
                                      
                                    
93 94
                                    </select> 
                                  </div>
Nelson Ruiz committed
95
                                  <div class="inputs mb-3 col-md-6">
Nelson Ruiz committed
96
                                    <label for="telefono" class="form-label">Telefono</label>
97
                                    <input type="number" name="telefono" class="form-control  " id="telefono" required>
98
                                    
Nelson Ruiz committed
99 100
                                  </div>

101 102 103
                                  <div class="inputs mb-3 col-md-6">
                                    <label for="fechaNacimiento" class="form-label">Fecha de nacimiento</label>
                                    <input type="date" name="fechaNacimiento" class="form-control  " id="fechaNacimiento" required>
104 105 106 107 108 109 110 111
                                    
                                  </div>

                                  <div class="about-inputs  mb-3 col-md-12 center">
                                    <label for="resumen" class="form-label">Resumen</label>
                                    <textarea  class="form-control center  " name="resumen" id="resumen" required > </textarea>
                                    
                                    
112
                                  </div>
Nelson Ruiz committed
113 114
                              
                        
115
                                  <div class="inputs mb-3 col-md-3"> <label for="nivelIngles" class="form-label"> Nivel de ingles</label> 
116
                                    <select name="nivelIngles" id="nivelIngles" class="content-select">
117 118 119 120 121
                                    <option value="1" selected>Ingles muy basico</option>
                                    <option value="2" >Comprendo algunas cosas y puedo leer con la ayuda del traductor</option>
                                    <option value="3" >Puedo leer tranquilamente</option>
                                    <option value="4" >Puedo escribir documentacion</option>
                                    <option value="5" >Puedo escribir y hablar tranquilamente</option>
122 123
                                    </select> 
                                  </div>
Nelson Ruiz committed
124
                                
125
                                  <div class="inputs mb-3 col-md-3"> 
126
                                    <label for="disponibilidad" class="form-label"> Disponibilidad</label> 
127
                                    <select name="disponibilidad" id="disponibilidad" class="content-select">
128 129 130 131
                                      <c:forEach items="${disponibilidades}" var="disponibilidad">
                                        <option value="${disponibilidad.getCode()}">${disponibilidad.getDescripcion()}</option>
                                      </c:forEach>
                                    
132
                                  </select> </div>
Nelson Ruiz committed
133
                                
134
                                  <div class="inputs mb-3 col-md-3"> 
135
                                    <label for="estadoCivil" class="form-label"> Estado Civil</label> 
136
                                    <select name="estadoCivil" id="estadoCivil" class="content-select">
137 138
                                      <c:forEach items="${estadosCiviles}" var="estadoCivil">
                                        <option value="${estadoCivil.getDescripcion()}">${estadoCivil.getDescripcion()}</option>
139
                                      </c:forEach>
140
                                    </select> 
141
                                  </div>
142
                                  <div class="inputs mb-3 col-md-3">
143 144 145
                                    <label for="formFile" class="form-label">Cargar cv</label>
                                    <input class="form-control" type="file" id="cvFile">
                                  </div>
146
                                  <!-- Button Agregar Cargo al que postulas -->
Joel Florentin committed
147
                                  <hr>
148 149
                                  <div class="inputs mb-3 col-md-12">

Joel Florentin committed
150
                                    <div class="row w-100 p-3 gy-2 mx-auto">
151 152 153 154 155 156 157 158
                                      <div class="col-12">
                                        <h3>Cargos <i class="bi bi-plus-circle-fill" data-bs-toggle="modal" data-bs-target="#cargoForm"></i></h3>	
                                      </div>
                                      <div class="col-12">
                                        <div class="mt-3 gap-2 row row-cols-4" style="display: flex;" id="cargos">
                                        </div>
                                      </div>
                                      <div class="col-12">
Joel Florentin committed
159
                                        <p id="no-valid-cargo" style="display: none; color: red;" class="text-center">
160 161 162 163 164 165
                                          *Agrega por lo menos un cargo
                                        </p>
                                      </div>
                                    </div>
                                  </div>
                                  
166
                                  <!-- Button Agregar Estudio -->
Joel Florentin committed
167
                                  <hr>
168 169
                                  <div class="inputs mb-3 col-md-12">

Joel Florentin committed
170
                                    <div class="row w-100 p-3 gy-2 mx-auto">
171 172 173 174 175 176 177 178 179 180 181
                                      <div class="col-12">
                                        <h3>Estudios <i class="bi bi-plus-circle-fill" data-bs-toggle="modal" data-bs-target="#estudioForm"></i></h3>	
                                      </div>
                                      <div class="col-12">
                                        <div class="mt-3 gap-2 row row-cols-4" id="estudios">
                                          
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  
182

183
                                  <!-- Button Agregar Tecnologia -->
Joel Florentin committed
184
                                  <hr>
185 186
                                  <div class="inputs mb-3 col-md-12">

Joel Florentin committed
187
                                    <div class="row w-100 p-3 gy-2 mx-auto">
188 189 190 191 192 193 194 195 196 197 198
                                      <div class="col-12">
                                        
                                        <h3>Tecnologias <i class="bi bi-plus-circle-fill" data-bs-toggle="modal" data-bs-target="#tecnologiaForm"></i></h3>	
                                      </div>
                                      <div class="col-12">
                                        
                                          <div class="mt-3 gap-2 row row-cols-5" style="display: flex;" id="tecnologias">
                                          </div>
                                        
                                      </div>
                                      <div class="col-12">
Joel Florentin committed
199
                                        <p id="no-valid-tecno" style="display: none; color: red;" class="text-center">
200 201 202 203 204 205
                                          *Agrega por lo menos una tecnologia
                                        </p>   
                                      </div>
                                      
                                    
                                    </div>
206
                                  </div>
207

208
                                  <!-- Button Agregar Experiencia -->
Joel Florentin committed
209
                                  <hr>
210 211
                                  <div class="inputs mb-3 col-md-12">

Joel Florentin committed
212
                                    <div class="row w-100 p-3 gy-2 mx-auto">
213 214 215 216 217 218 219 220 221 222
                                      <div class="col-12">
                                        <h3>Experiencias <i class="bi bi-plus-circle-fill" data-bs-toggle="modal" data-bs-target="#experienciaForm"></i></h3>	
                                      </div>
                                      <div class="col-12">
                                        <div class="mt-3 gap-2 row row-cols-4" id="experiencias">
                                          
                                        </div>
                                      </div>
                                    </div>
                                  </div>
223
                                  <!-- Button Agregar Refencia personal -->
Joel Florentin committed
224
                                  <hr>
225
                                  <div class="inputs mb-3 col-md-12">
Joel Florentin committed
226
                                    <div class="row  w-100 p-3 gy-2 mx-auto">
227 228 229 230 231 232 233 234 235 236 237
                                      <div class="col-12">
                                        <h3>Referencia Personal <i class="bi bi-plus-circle-fill" data-bs-toggle="modal" data-bs-target="#referenciaForm"></i></h3>	
                                      </div>
                                      <div class="col-12">
                                        <div class="mt-3 gap-2 row row-cols-4" id="referencia">
                                          
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                  
238 239
                      
                        
Nelson Ruiz committed
240 241
                                
                                <div class="mt-3 gap-2 d-flex justify-content-end">
242
                                  <a class="px-3 btn btn-sm btn-outline-primary" href="/work-with-us">Cancelar</a>
Nelson Ruiz committed
243
                                  <button class="px-3 btn btn-sm btn-primary" type="submit">Guardar</button>
Nelson Ruiz committed
244
                                </div>
Nelson Ruiz committed
245
                              </div>
246
                          </div>
Nelson Ruiz committed
247
                      </div>
248
    </form>
willgonzz committed
249
    <!---------------------------------------Modal de Cargos disponibles---------------------------------------------------------------->
250
    <div class="modal fade" id="cargoForm" tabindex="-1" role="dialog" aria-labelledby="cargoForm" aria-hidden="true">
willgonzz committed
251 252 253 254
      <div class="modal-dialog" role="document">
        <div class="modal-content">
          <div class="modal-header">
            <h5 class="modal-title" id="exampleModalLabel" >CargosDisponibles</h5>
255
            <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close" style="color:#21130d;">
willgonzz committed
256 257 258 259 260 261 262 263
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <form name="cargo-form" class="needs-validation" novalidate>
              <label for="cargo-nombre" class="form-label">Cargo</label>
              <div class="input-group mb-3">
                <select class="form-select" name="cargo-id" aria-label="Default select example" required>
264
                  
willgonzz committed
265 266 267 268 269 270 271 272
                  <c:forEach items="${CargosDisponibles}" var="convocatoria">
                                <option value="${convocatoria.getId()}">${convocatoria.getCargo().getNombre()}</option>
                  </c:forEach>>
                </select>
              </div>
            </form>
        </div>
        <div class="modal-footer">
273 274
          <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
          <button type="button" class="btn btn-primary" onclick="agregarFieldCargo()">Agregar</button>
willgonzz committed
275 276 277 278 279
        </div>
      </div>
    </div>
  </div>  
  <!-------------------------------------------------------------------------------------------------------------------------->
280

281
      <!--Modal de Experiencia-->
282 283 284 285 286
      <div class="modal fade" id="experienciaForm" tabindex="-1" role="dialog" aria-labelledby="experienciaForm" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel">Experiencia</h5>
287
              <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close" style="color:#21130d;">
288 289 290 291
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
292
                <form name="experiencia-form" class="needs-validation" novalidate>
293

Nelson Ruiz committed
294
                        <div class="inputs">
295 296
                            <label for="institucionExperiencia" class="inputs form-label">Institucion</label>
                            <input type="text" class="inputs form-control  " name="institucion" id="institucionExperiencia" required>
Nelson Ruiz committed
297 298
                        </div>
                        <div class="inputs">
299 300
                            <label for="fechaDesdeExperiencia" class="form-label">Fecha Desde</label>
                            <input type="date" class="form-control" name="fechaDesde" id="fechaDesdeExperiencia" required>
301 302 303
                            <div class="invalid-feedback errorFechaDesde">
                              
                            </div>
Nelson Ruiz committed
304 305 306
                        </div>
                         
                        <div class="inputs">
307 308
                            <label for="fechaHastaExperiencia" class="form-label">Fecha Hasta</label>
                            <input type="date" class="form-control" name="fechaHasta" id="fechaHastaExperiencia" >
309 310
                            <div class="invalid-feedback errorfechaHasta"></div>
                          </div>
Nelson Ruiz committed
311 312 313
                        
                        <div class="inputs">
                            <label for="cargo" class="form-label">Cargo</label>
314
                            <input type="text" class="form-control " name="cargo" id="cargo" required>
Nelson Ruiz committed
315 316 317
                        </div>

                        <div class="inputs">
318
                          <label for="descripcion" class="form-label">Descripcion</label>
319
                          <textarea  class="form-control  " name="descripcion" id="descripcion"> </textarea>
320 321 322 323 324 325 326 327 328

                        </div>
                        <div class="inputs">
                          <label for="refNombre" class="form-label">Nombre de la Referencia</label>
                          <input type="text" class="form-control  " name="nombreReferencia" id="refNombre" >
                        </div>
                        <div class="inputs">
                          <label for="refTel" class="form-label">Telefono de la Referencia</label>
                          <input type="text" class="form-control  " name="telefonoReferencia" id="refTel" >
Nelson Ruiz committed
329
                        </div>
330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
                        
                        <div class="inputs">
                          <label for="motivoSalida" class="form-label">Motivo de Salida</label>
                          <textarea class="form-control  " name="motivoSalida" id="motivoSalida" ></textarea>
                        </div>
                        <div class="inputs">
                          <label for="tipoExperiencia" class="form-label"> Tipo de Experiencia</label> 
                            <select name="tipoExperiencia" id="tipoExperiencia" class="bg-light">
                              <c:forEach items="${tiposExperencia}" var="tipoExperiencia">
                                <option value="${tipoExperiencia.getDescripcion()}">${tipoExperiencia.getDescripcion()}</option>
                              </c:forEach>
                            
                            </select>
                        </div>
                        
Nelson Ruiz committed
345
                          
346

347 348 349
                </form>
            </div>
            <div class="modal-footer">
350 351
              <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
              <button id="agregar-exp" type="button" class="btn btn-primary" onclick="agregarFieldExpierncia()">Agregar</button>
352 353 354 355
            </div>
          </div>
        </div>
      </div>
willgonzz committed
356
    <!--------------------------------------------------------------------------------------->
357
      <div class="modal fade" id="tecnologiaForm" tabindex="-1" role="dialog" aria-labelledby="tecnologiaForm" aria-hidden="true">
willgonzz committed
358 359 360 361
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel" >tecnologia</h5>
362
              <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close" style="color:#21130d;">
willgonzz committed
363 364 365 366
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
367
              <form name="tecnologia-form" class="needs-validation" novalidate>
Joel Florentin committed
368 369
                <label for="tecnologia-nombre" class="form-label">Tecnologia</label>
                <div class="input-group mb-3">
370
                  <select class="form-select" name="tecnologia-id" aria-label="Default select example" required>
371
                    
Joel Florentin committed
372 373 374 375 376 377 378 379 380
                    <c:forEach items="${tecnologias}" var="tecnologia">
                      <option value="${tecnologia.id}">${tecnologia.nombre}</option>
                    </c:forEach>
                  </select>
                </div>
                  
                  
                  <input type="text" class="form-control d-none" name="tecnologia-nombre" id="tecnologia-nombre" >
                  <label for="nivel" class="form-label">Nivel</label>
381
                  <input type="range" class="form-range" name="nivel" id="nivel" min="1" max="5" required>
Joel Florentin committed
382 383 384
              </form>
          </div>
          <div class="modal-footer">
385 386
            <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
            <button type="button" class="btn btn-primary" onclick="agregarFieldTecnologia()">Agregar</button>
willgonzz committed
387 388
          </div>
        </div>
Joel Florentin committed
389 390 391
      </div>
    </div>      
  <!--------------------------------------------------------------------------------------->
392

393 394 395 396 397 398 399

      <!--Modal de Estudios-->
      <div class="modal fade" id="estudioForm" tabindex="-1" role="dialog" aria-labelledby="estudioForm" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel">Estudios</h5>
400
              <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close" style="color:#21130d;">
401 402 403 404
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
405
              <form name="estudio-form" class="needs-validation" novalidate>
406 407 408 409


                <div class="form-group">
                    <label for="tipoDeEstudio">Tipo de Estudio</label>
410
                    <select name="tipoDeEstudio" id="tipoDeEstudio" required>
411
                        
412 413 414 415
                        <c:forEach items="${tiposDeEstudio}" var="tipo">
                            <option value="${tipo}">${tipo.name}</option>
                        </c:forEach>
                    </select>
Joel Florentin committed
416
                </div>
417 418 419
<%--                <label for="tipoDeEstudio" class="form-label">Tipo De Estudio</label>--%>
<%--                <input type="text" class="form-control  " name="tipoDeEstudio" id="tipoDeEstudio">--%>
                <div class="form-group">
420 421
                    <label for="institucionEstudio" class="form-label">Institucion</label>
                    <input type="text" class="form-control" name="institucion" id="institucionEstudio" required>
Joel Florentin committed
422
                </div>
423 424
                <div class="form-group">
                    <label for="temaDeEstudio" class="form-label">Carrera/Bachiller/Tema de Curso</label>
425
                    <input type="text" class="form-control" name="temaDeEstudio" id="temaDeEstudio" required>
426 427 428
                </div>
                  <div class="form-group">
                      <label for="estado">Estado</label>
429
                      <select name="estado" id="estado" required>
430
                          
431 432 433 434
                          <c:forEach items="${estadosEstudio}" var="estado">
                              <option value="${estado}">${estado.name}</option>
                          </c:forEach>
                      </select>
Joel Florentin committed
435
                  </div>
436
                <div class="form-group">
437 438
                    <label for="fechaDesdeEstudio" class="form-label">Fecha Desde</label>
                    <input type="date" class="form-control  " name="fechaDesde" id="fechaDesdeEstudio" required>
439 440 441
                    <div class="invalid-feedback errorFechaDesde">
                              
                    </div>
442 443
                </div>
                <div class="form-group">
444 445
                    <label for="fechaHastaEstudio" class="form-label">Fecha Hasta</label>
                    <input type="date" class="form-control  " name="fechaHasta" id="fechaHastaEstudio" >
446 447 448
                    <div class="invalid-feedback errorFechaHasta">
                              
                    </div>
Joel Florentin committed
449
                </div>
450 451


Joel Florentin committed
452 453 454
            </form>
        </div>
        <div class="modal-footer">
455 456
          <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
          <button type="button" class="btn btn-primary" onclick="agregarFieldEstudio()">Agregar</button>
457 458
        </div>
      </div>
Joel Florentin committed
459 460
    </div>
  </div>
461 462
    <meta name="_csrf" content="${_csrf.token}"/>
    <meta name="_csrf_header" content="${_csrf.headerName}"/>
463 464 465 466 467 468
    <!--Modal de referencias-->
       <div class="modal fade" id="referenciaForm" tabindex="-1" role="dialog" aria-labelledby="referenciaForm" aria-hidden="true">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <h5 class="modal-title" id="exampleModalLabel">Referencias Personales</h5>
469
              <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close" style="color:#21130d;">
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
                <span aria-hidden="true">&times;</span>
              </button>
            </div>
            <div class="modal-body">
              <form name="referencia-form" class="needs-validation" novalidate>
                <div class="form-group">
                    <label for="nombre" class="form-label">Nombre</label>
                    <input type="text" class="form-control" name="nombre" id="nombre" required>
                </div>
                <div class="form-group">
                    <label for="relacion" class="form-label">Relacion</label>
                    <input type="text" class="form-control" name="relacion" id="relacion" required>
                </div>

                <div class="form-group">
                  <label for="telefono" class="form-label">Telefono</label>
                  <input type="number" class="form-control" name="telefono" id="telefono" required>
              </div>
                 
                


            </form>
        </div>
        <div class="modal-footer">
495 496
          <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cerrar</button>
          <button type="button" class="btn btn-primary" onclick="agregarFieldReferencia()">Agregar</button>
497 498 499 500
        </div>
      </div>
    </div>
      </div>
501

502

503
    <!-- Optional JavaScript; choose one of the two! -->
504 505
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
506 507
    <script>
      var ciudades = ${ciudades};
508
          </script>
509
    <script src="./main.js"></script>
510 511
  </body>
</html>