templates/task/assigncredits.html
changeset 93 1a1e712e60fd
child 96 2881ed1c52b0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/task/assigncredits.html	Thu Feb 25 06:07:55 2010 +0530
@@ -0,0 +1,20 @@
+{% extends 'base.html' %}
+{% block title %}
+    {{task.title}}
+{% endblock %}
+{% block content %}
+        
+        {% if prev_credits %}
+            <hr />
+            <br/>Previous credits:<br />
+            {% for credit in prev_credits %}
+                {{credit.points}} pynts were given by <a href="/user/view/uid={{credit.given_by.id}}">{{credit.given_by.username}}</a> to
+                <a href="/user/view/uid={{credit.given_to.id}}">{{credit.given_to.username}}</a> at {{credit.given_time.ctime}}<br />
+            {% endfor %}
+        {% endif %}
+
+        <form action="" method="post">
+        {{form.as_p}}
+        <input type="submit" value="Submit">
+        </form>
+{% endblock %}