~wacky/postorius/1043258

« back to all changes in this revision

Viewing changes to src/postorius/templates/postorius/lists/new.html

  • Committer: Florian Fuchs
  • Date: 2012-05-19 11:17:55 UTC
  • mfrom: (64.1.2 postorius)
  • Revision ID: flo.fuchs@gmail.com-20120519111755-ek6l5h1c3na28mnh
- missing csrf tokens in templates contributed by Richard Wackerbarth (LP: 996658)
- added csrf middleware to dev_setup settings

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
{% block main %}
5
5
    <h1>{% trans "Create a new List" %} {{ block.super }}</h1> 
6
 
    <form action="{% url list_new %}" method="post" class="well">
 
6
    <form action="{% url list_new %}" method="post" class="well"> {% csrf_token %}
7
7
        {{ form.as_p }}
8
8
        <button class="btn btn-success" type="submit">{% trans "Create List" %}</button>
9
9
    </form>