Sfoglia il codice sorgente

Changes template formatting

Jose Reyes 6 anni fa
parent
commit
ccbefff3aa
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1
    1
      app/templates/base.html
  2. 1
    1
      app/templates/index.html

+ 1
- 1
app/templates/base.html Vedi File

@@ -6,7 +6,7 @@
6 6
         {% block header %}{% endblock %}
7 7
     </header>
8 8
     {% for message in get_flashed_messages() %}
9
-        <div class="flash">{{ message }}</div>
9
+        <div class="flash">{{ message }}</div><br>
10 10
     {% endfor %}
11 11
     {% block content %}{% endblock %}
12 12
 </section>

+ 1
- 1
app/templates/index.html Vedi File

@@ -13,7 +13,7 @@
13 13
         {{ form.cEmail }}<br>
14 14
 
15 15
         {% for station in stations %}
16
-            <input type="radio" name="station" id={{ "station{}".format(station['s_id']) }} value={{ station['s_id'] }}> {{ "{} ({})".format(station['nombre_empleado'],station['oficina']) }} </input><br>
16
+            <input type="radio" name="station" id={{ "station{}".format(station['s_id']) }} value={{ station['s_id'] }} required> {{ "{} ({})".format(station['nombre_empleado'],station['oficina']) }} </input><br>
17 17
         {% endfor %}
18 18
 
19 19
         <input type="submit" value="Get ticket">