pytask/templates/task/browse_textbooks.html
changeset 435 1217d808d70f
parent 431 fcc87a3f0311
child 495 773e886d9b80
--- a/pytask/templates/task/browse_textbooks.html	Mon Jan 17 02:52:42 2011 +0530
+++ b/pytask/templates/task/browse_textbooks.html	Mon Jan 17 02:53:11 2011 +0530
@@ -1,30 +1,46 @@
 {% extends "base.html" %}
 
 {% block content %}
-    {% if comp_textbooks %}
-    Textbooks that were completed recently<ul>
-    {% for textbook in comp_textbooks %}
-        <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li>
-    {% endfor %}
+  {% if comp_textbooks %}
+    Textbooks that were completed recently
+    <ul>
+      {% for textbook in comp_textbooks %}
+        <li>
+          <a href="{% url view_textbook textbook.id %}">
+            {{ textbook.name }}
+          </a>
+        </li>
+      {% endfor %}
     </ul>
     <br />
-    {% endif %}
+  {% endif %}
 
-    {% if open_textbooks %}
-    Textbooks that are open for contribution<ul>
-    {% for textbook in open_textbooks %}
-        <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li>
-    {% endfor %}
+  {% if open_textbooks %}
+    Textbooks that are open for contribution
+    <ul>
+      {% for textbook in open_textbooks %}
+        <li>
+          <a href="{% url view_textbook textbook.id %}">
+            {{ textbook.name }}
+          </a>
+        </li>
+      {% endfor %}
     </ul>
     <br />
-    {% endif %}
+  {% endif %}
 
-    {% if unpub_textbooks %}
-    Textbooks that need approval<ul>
-    {% for textbook in unpub_textbooks %}
-        <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li>
-    {% endfor %}
+  {% if unpub_textbooks %}
+    Textbooks that need approval
+    <ul>
+      {% for textbook in unpub_textbooks %}
+        <li>
+          <a href="{% url view_textbook textbook.id %}">
+            {{ textbook.name }}
+          </a>
+        </li>
+      {% endfor %}
     </ul>
-    <br />
-    {% endif %}
+  <br />
+  {% endif %}
+
 {% endblock %}