Browse Source

Changes template formatting

Jose Reyes 6 years ago
parent
commit
ccbefff3aa
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      app/templates/base.html
  2. 1
    1
      app/templates/index.html

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

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

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

13
         {{ form.cEmail }}<br>
13
         {{ form.cEmail }}<br>
14
 
14
 
15
         {% for station in stations %}
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
         {% endfor %}
17
         {% endfor %}
18
 
18
 
19
         <input type="submit" value="Get ticket">
19
         <input type="submit" value="Get ticket">