rangeSel.html (787B)
1 {% extends 'base.html' %} 2 3 {% block title %}Select Report Range{% endblock %} 4 5 {% block content %} 6 <section class="hours-grid"> 7 <h1 id="clock"></h1> 8 {% for error in form.errors %} 9 <span style="color:red;">{{error}}</span> 10 {% endfor %} 11 {% with messages = get_flashed_messages() %} 12 {% if messages %} 13 {% for message in messages %} 14 <p style='color:green'>{{message}}</p> 15 {% endfor %} 16 {% endif %} 17 {% endwith %} 18 <form action="" method="POST" novalidate> 19 <table> 20 {% for field in form %}{% if field.widget.input_type != 'hidden' and field.widget.input_type != 'submit' %} 21 <tr><td>{{ field.label }}</td><td>{{ field }}</td></tr> 22 {% endif %}{% endfor %} 23 </table> 24 {{ form.submitEntr() }} 25 {{ form.hidden_tag() }} 26 </form> 27 </section> 28 {% endblock %}