pytask/templates/task/claim.html
changeset 431 fcc87a3f0311
parent 417 b37e541bf950
child 435 1217d808d70f
--- a/pytask/templates/task/claim.html	Sun Jan 16 23:16:21 2011 +0530
+++ b/pytask/templates/task/claim.html	Sun Jan 16 23:17:13 2011 +0530
@@ -1,4 +1,5 @@
-{% extends 'base.html' %}
+{% extends "base.html" %}
+
 {% block content %}
     {% if can_claim %}
     Propose a claim to work on this task.<br />
@@ -27,13 +28,10 @@
     {% endif %}
 
     {% if can_claim %}
-        <hr />
-        <form action="" method="post">
-	{% csrf_token %}
-        {{form.as_p}}
-        <input type="submit" value="Submit Claim"><br />
-        Please note that you can claim only once and so write your proposal carefully.<br />
-        </form>
+      <hr />
+      Please note that you can claim only once and so write your
+      proposal carefully.<br />
+      {% as_div_form form "Task Claim Form" csrf_token "Request Claim" %}
     {% endif %}
 
 {% endblock %}