gestioCOF/gestioncof/cms/templates/cofcms/sympa.html

33 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2020-08-22 12:34:08 +02:00
{% load i18n static %}
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 %}