浏览代码

Changes template formatting

Jose Reyes 5 年前
父节点
当前提交
ccbefff3aa
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      app/templates/base.html
  2. 1
    1
      app/templates/index.html

+ 1
- 1
app/templates/base.html 查看文件

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 查看文件

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">