2020-05-04 22:11:38 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% load i18n crispy_forms_filters django_tables2 %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-05-06 16:54:54 +00:00
|
|
|
<div class="alert alert-warning">
|
|
|
|
{% trans "Templates for syntheses are available here:" %}
|
2020-05-06 16:56:10 +00:00
|
|
|
<a data-turbolinks="false" href="{% static "Fiche synthèse.pdf" %}">PDF</a> -- <a data-turbolinks="false" href="{% static "Fiche synthèse.tex" %}">TEX</a>
|
2020-05-06 16:54:54 +00:00
|
|
|
</div>
|
|
|
|
|
2020-05-04 22:11:38 +00:00
|
|
|
{% if form %}
|
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form|crispy }}
|
|
|
|
<button class="btn btn-block btn-success">{% trans "Submit" %}</button>
|
|
|
|
</form>
|
|
|
|
<hr>
|
|
|
|
{% endif %}
|
|
|
|
{% render_table table %}
|
|
|
|
{% endblock %}
|