templates/task/assigncredits.html
changeset 93 1a1e712e60fd
child 96 2881ed1c52b0
equal deleted inserted replaced
92:c99f09bebe56 93:1a1e712e60fd
       
     1 {% extends 'base.html' %}
       
     2 {% block title %}
       
     3     {{task.title}}
       
     4 {% endblock %}
       
     5 {% block content %}
       
     6         
       
     7         {% if prev_credits %}
       
     8             <hr />
       
     9             <br/>Previous credits:<br />
       
    10             {% for credit in prev_credits %}
       
    11                 {{credit.points}} pynts were given by <a href="/user/view/uid={{credit.given_by.id}}">{{credit.given_by.username}}</a> to
       
    12                 <a href="/user/view/uid={{credit.given_to.id}}">{{credit.given_to.username}}</a> at {{credit.given_time.ctime}}<br />
       
    13             {% endfor %}
       
    14         {% endif %}
       
    15 
       
    16         <form action="" method="post">
       
    17         {{form.as_p}}
       
    18         <input type="submit" value="Submit">
       
    19         </form>
       
    20 {% endblock %}