fix template block syntax
[django-migdal.git] / migdal / templates / migdal / entry / submit.html
1 {% extends "base.html" %}
2 {% load url from future %}
3 {% load i18n %}
4
5 {% block body %}
6
7 <h1>{% trans "Submit new story" %}</h1>
8
9 <p class="form-info">{% blocktrans %}
10 By submitting a story here, you agree to publish it under the terms of the
11 <a href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons Attribution-Share Alike</a>
12 free license.{% endblocktrans %}</p>
13
14 <p class="form-info">{% blocktrans %}Stories are moderated, so please be
15 patient, you'll be notified when it's published.{% endblocktrans %}</p>
16
17 <form class="submit-form" method="post" action="{% url 'migdal_submit' %}">
18 {% csrf_token %}
19 <table>
20     {{ submit_form.as_table }}
21     <tr><td></td><td><button type="submit">{% trans "Submit" %}</button></td></tr>
22 </table>
23 </form>
24
25
26 {% endblock %}