1. Kai Diefenbach
  2. django-lfstheme-0.6

Commits

Kai Diefenbach  committed 6ceb89a

Added missing csrf_token.

  • Participants
  • Parent commits c6107f8
  • Branches default

Comments (0)

Files changed (1)

File lfstheme/templates/lfs/customer/orders.html

View file
  • Ignore whitespace
 {% load i18n %}
 {% load lfs_tags %}
 
+{% block title %}
+    {% trans 'Your orders' %} - {{ block.super }}
+{% endblock %}
+
+{% block section %}my-addresses{% endblock %}
+
 {% block breadcrumbs %}
     {% breadcrumbs _("Your orders") %}
 {% endblock %}
         <div class="site-actions">
             <form action="{% url lfs_my_orders %}"
                   method="post">
+                {% csrf_token %}
                 <select>
                     <option>{% trans 'Recent orders' %}</option>
                     <option>{% trans '2009' %}</option>
             {% trans "You haven't any orders yet." %}
         </p>
     {% endif %}
-{% endblock %}
+{% endblock %}