templates/feedback.html
author nishanth
Thu, 15 Apr 2010 18:23:21 +0530
changeset 53 0a4b2c49f718
parent 14 cd6911eaac2c
child 55 53ff84c9192d
permissions -rw-r--r--
changed feedback model since we now take feedback only from logged in users .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     1
{% extends "base.html" %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     2
{% block content %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     3
	{% if submitted %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     4
		Your feedback has been successfully submitted.
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     5
	{% else %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     6
		<form action="" method="post">
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     7
		{{ form.as_p }}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     8
		<input type="submit" value="submit">
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
     9
		</form>
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    10
	{% endif %}
cd6911eaac2c moved templates into templates directory and added user in context .
nishanth
parents:
diff changeset
    11
{% endblock %}