summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-26 18:13:20 +0530
committerPrimal Pappachan2012-03-26 18:13:20 +0530
commit9f2f29ef8ecd16c96fbe205cdcc79beba3f9f965 (patch)
treeaffc673847e5baa658d507ec0a90b3f074dc88da /template
parent7947b133d3ad2228d9caa34b4f43a4561f590eb4 (diff)
downloadaloha-9f2f29ef8ecd16c96fbe205cdcc79beba3f9f965.tar.gz
aloha-9f2f29ef8ecd16c96fbe205cdcc79beba3f9f965.tar.bz2
aloha-9f2f29ef8ecd16c96fbe205cdcc79beba3f9f965.zip
Fixed the actions corresponding to button click
Diffstat (limited to 'template')
-rw-r--r--template/allotter/complete.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/template/allotter/complete.html b/template/allotter/complete.html
index 799d965..26ee46d 100644
--- a/template/allotter/complete.html
+++ b/template/allotter/complete.html
@@ -2,7 +2,6 @@
{% block title %}Options saved.{% endblock %}
-
{% block content %}
<h2> The following options have been saved. Please verify them before logging out.</h2>
@@ -41,17 +40,17 @@ An email with the list of options has been sent {{ email }} for book-keeping pur
{% endif %}
-<form action="/allotter/apply/" method="post">
+<form id="apply" action="/allotter/{{username}}/apply/" method="post">
{% csrf_token %}
<input type="submit" name="apply" value="Edit Options" />
</form>
-<form action="/allotter/get_pdf/" method="post">
+<form id ="get_pdf" action="/allotter/{{username}}/get_pdf/" method="post">
{% csrf_token %}
<input type="submit" name="get_pdf" value="Generate PDF" />
</form>
-<form action="/allotter/logout/" method="post">
+<form id="logout" action="/allotter/logout/" method="post">
{% csrf_token %}
<input type="submit" name="logout" value="Quit Allotment" />
</form>