summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-07 21:02:05 +0530
committerPrimal Pappachan2012-03-07 21:02:05 +0530
commit7ee4bbddaa6836f58183a7699f1d3d829f2cc150 (patch)
tree5c0756909430e0422cdc01fad1c965a60e70da88 /template
parent27096d56821f3819b51ed556b566763677933e07 (diff)
downloadaloha-7ee4bbddaa6836f58183a7699f1d3d829f2cc150.tar.gz
aloha-7ee4bbddaa6836f58183a7699f1d3d829f2cc150.tar.bz2
aloha-7ee4bbddaa6836f58183a7699f1d3d829f2cc150.zip
added application template
Diffstat (limited to 'template')
-rw-r--r--template/allotter/apply.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/template/allotter/apply.html b/template/allotter/apply.html
new file mode 100644
index 0000000..f397cb9
--- /dev/null
+++ b/template/allotter/apply.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+
+{% block title %}Application form {% endblock %}
+
+{% block content %}
+Choose the options as per your preference
+
+<h3> {{user.first_name}} {{user.last_name}}</h3>
+
+<h3> {{subject}} </h3>
+
+<form action="/allotter/save" method="post">
+{% csrf_token %}
+
+{% for option in options %}
+<input name="option" type="check" value="{{option}}" />{{option.opt_name}}<br/>
+{% endfor %}
+
+<input type="submit" name="save" value="Save" />
+</form>
+
+<form action="/allotter/quit/" method="post">
+{% csrf_token %}
+<input type="submit" name="quit" value="Quit Allotment" />
+</form>
+
+{% endblock content %}