2020-08-22 12:34:08 +02:00
|
|
|
{% load i18n static %}
|
2018-01-28 23:44:48 +01:00
|
|
|
|
2020-08-22 12:34:08 +02:00
|
|
|
{% if redirect %}
|
|
|
|
<p>{% trans "Redirection vers" %} <a href="{{ redirect }}" target="_parent">{{ redirect }}</a></p>
|
|
|
|
<script type="text/javascript">
|
|
|
|
top.location = "{{ redirect }}";
|
|
|
|
</script>
|
|
|
|
{% else %}
|
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static "fonts/SourceSansPro/sourceSansPro.css" %}"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static "cofcms/css/screen.css" %}"/>
|
|
|
|
<body>
|
|
|
|
<article class="paragraph">
|
|
|
|
<form method="POST" action="">
|
|
|
|
{% csrf_token %}
|
|
|
|
<p>{% blocktrans %}Comment s'appellent les poissons du bassin ?{% endblocktrans %}</p>
|
|
|
|
{% for field in form %}
|
|
|
|
{% for error in field.errors %}
|
|
|
|
<p class="erreur">{% trans error %}</p>
|
|
|
|
{% endfor %}
|
|
|
|
<p align="center">
|
|
|
|
{{ field }}
|
|
|
|
</p>
|
|
|
|
{% endfor %}
|
|
|
|
<input type="submit" />
|
|
|
|
</form>
|
|
|
|
</article>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
{% endif %}
|