Skip to content
Snippets Groups Projects
Commit c48a362c authored by Álvaro Berruezo's avatar Álvaro Berruezo
Browse files

Labels de formularios más concisos

parent 0c5818a1
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@
<textarea placeholder="Comentario" name="comentario" required></textarea>
<input type="number" min="1" max="10" pattern="\d+" placeholder="Prioridad" name="prioridad" required title="Campo obligatorio. Numero entre 1 y 10"/>
<br> </br>
<label for="tecnico">Tecnicos Actuales:</label>
<label for="tecnico">Técnico asignado:</label>
<select name="tecnico" required>
{% for i in range(listaTecnicos|length) %}
<option value="{{ listaTecnicos[i].nick }}">{{ listaTecnicos[i].nick }}</option>
......@@ -62,6 +62,7 @@
</select>
{% if incidencia.elementoInventario == 0 %}
<label for="elementoInventario">Elemento del inventario afectado:</label>
<select name="elementoInventario" required>
{% for i in range(1, elementosInventario|length) %}
<option value="{{ i }}">{{ elementosInventario[i].nombre }}</option>
......
......@@ -53,15 +53,16 @@
<input type="text" placeholder="Título" name="titulo" required/>
<textarea placeholder="Descripción" name="descripcion" required></textarea>
<br> </br>
<label for="elementoInventario">Elementos Inventario:</label>
<label for="elementoInventario">Elemento del inventario afectado:</label>
<select name="elementoInventario">
{% for c in range(elementosInventario|length) %}
<option value="{{ c }}">{{ elementosInventario[c].nombre }}</option>
{% endfor %}
</select>
<label for="fechaLabel">Fecha de ocurrencia:</label>
<input type="date" id="fecha" name="fecha" required>
<br> </br>
<label for="categoria">Categorias Incidencias:</label>
<label for="categoria">Categoría de la incidencia:</label>
<select name="categoria" required>
{% for c in range(categorias|length) %}
<option value="{{ c }}">{{ categorias[c].categoria }}</option>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment