瀏覽代碼

Changes template formatting

Jose Reyes 6 年之前
父節點
當前提交
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,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 查看文件

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