summaryrefslogtreecommitdiff
path: root/tbc/templates
diff options
context:
space:
mode:
authorprathamesh2016-09-15 10:50:08 +0530
committerprathamesh2016-09-15 10:50:08 +0530
commit21a153e8c64afd38d9e20ce23543e53e65b5e2c3 (patch)
tree778d37cc47e46b39117a047c8f920924fb2a44e2 /tbc/templates
parent3928f602bf0e4d36db3e702990bf129867bd4f28 (diff)
downloadPython-TBC-Interface-21a153e8c64afd38d9e20ce23543e53e65b5e2c3.tar.gz
Python-TBC-Interface-21a153e8c64afd38d9e20ce23543e53e65b5e2c3.tar.bz2
Python-TBC-Interface-21a153e8c64afd38d9e20ce23543e53e65b5e2c3.zip
added attributes to Profile
Diffstat (limited to 'tbc/templates')
-rw-r--r--tbc/templates/tbc/books.html11
-rw-r--r--tbc/templates/tbc/profile.html1
2 files changed, 10 insertions, 2 deletions
diff --git a/tbc/templates/tbc/books.html b/tbc/templates/tbc/books.html
index b1d975f..80070f1 100644
--- a/tbc/templates/tbc/books.html
+++ b/tbc/templates/tbc/books.html
@@ -5,8 +5,17 @@
<div class="row-fluid">
<div class="span6">
<u> Books without start and end time </u>
+ <br \>
+ <u> Books without any log available </u>
<ol>
- {% for book in books_incomplete %}
+ {% for book in manual %}
+ <li><a href="{% url 'tbc:edit_book' book.id %}"> {{ book.title }} </a> </li>
+ {% endfor %}
+ </ol>
+ <br \>
+ <u> Books with log available, so can be automated </u>
+ <ol>
+ {% for book in auto %}
<li><a href="{% url 'tbc:edit_book' book.id %}"> {{ book.title }} </a> </li>
{% endfor %}
</ol>
diff --git a/tbc/templates/tbc/profile.html b/tbc/templates/tbc/profile.html
index e6f706a..1485849 100644
--- a/tbc/templates/tbc/profile.html
+++ b/tbc/templates/tbc/profile.html
@@ -15,7 +15,6 @@
<form action="/profile/" method=POST>
{% csrf_token %}
{{ form.as_p }}
- {{ form.errors }}
<br>
<input class="btn btn-primary" type=submit value=submit>
</form>