ScoDoc/app/templates/assiduites/pages/choix_date.j2

30 lines
892 B
Django/Jinja

{% extends "sco_page.j2" %}
{% import 'wtf.j2' as wtf %}
{% block styles %}
{{super()}}
<link rel="stylesheet" href="{{scu.STATIC_DIR}}/libjs/timepicker-1.3.5/jquery.timepicker.min.css"/>
{% endblock %}
{% block app_content %}
{% for err_msg in form.error_messages %}
<div class="wtf-error-messages">
{{ err_msg }}
</div>
{% endfor %}
<h2>La date courante n'est pas dans le semestre ({{deb}} -> {{fin}})</h2>
<h2>Choissez une autre date</h2>
<form action="" method="post">
{{ form.hidden_tag() }}
{{ form.date.label }}&nbsp;: {{ form.date }}
<div class="submit">
{{ form.submit }} {{ form.cancel }}
</div>
</form>
{% endblock app_content %}
{% block scripts %}
{{ super() }}
<script src="{{scu.STATIC_DIR}}/libjs/timepicker-1.3.5/jquery.timepicker.min.js"></script>
{% endblock scripts %}