dynamicweb/digital_glarus/templates/digital_glarus/index.html-orig
Nico Schottelius 07ce78dd5c import static data from static homepage
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-05-02 21:38:59 +02:00

23 lines
502 B
Text

{% extends "base.html" %}
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
<form action="{% url 'digital_glarus:index' %}" method="post">
{% csrf_token %}
{{ form }}
<input type="submit" value="Send Message" />
</form>
{% if message_list %}
<ul>
{% for message in message_list %}
<li><a href="/digital.glarus/{{ message.id }}/">{{ message }}</a></li>
{% endfor %}
</ul>
{% else %}
<p>No messages are available.</p>
{% endif %}