Commits

Luke Plant committed b146cdf Merge

Merge

  • Participants
  • Parent commits 93a5c17, fa12549

Comments (0)

Files changed (2)

File lukeplant_me_uk/django/validator/templates/validator/validationfailure_detail.html

 {% extends "validator/base.html" %}
+{% load csrf %}
 {% block content %}
 <a href="../">[up]</a>
 <h2>Validation failure details</h2>
 
-<form method="post" action="delete/"><div>
+<form method="post" action="delete/">{% csrf_token %}<div>
 <input type="submit" name="delete" value="Delete" />
 </div>
 </form>

File lukeplant_me_uk/django/validator/templates/validator/validationfailure_list.html

 {% extends "validator/base.html" %}
+{% load csrf %}
 {% block content %}
 
 {% if object_list %}
-	<form method="post" action="delete/">
+	<form method="post" action="delete/">{% csrf_token %}
 	<div class="errorsfound"><p>{{ object_list|length }} page(s) with errors</p></div>
 	<div>
 	<table>