diff options
-rw-r--r-- | pytask/templates/task/view_textbook.html | 6 | ||||
-rw-r--r-- | pytask/templates/templatetags/_as_tags.html | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/pytask/templates/task/view_textbook.html b/pytask/templates/task/view_textbook.html index 9d1c975..a980b75 100644 --- a/pytask/templates/task/view_textbook.html +++ b/pytask/templates/task/view_textbook.html @@ -16,15 +16,15 @@ {% if can_edit %} <a href="{% url edit_textbook textbook.id %}">Edit Text book</a> {% endif %} - + {% if can_approve %} <a href="{% url approve_textbook textbook.id %}">Approve Text book</a> {% endif %} <hr /> - + <strong>Pynts: {{ textbook.pynts }}</strong><br/> {% if textbook.tags.count %} - Tags: {% as_tags textbook.tags %}<hr /> + <strong>Tags:</strong> {% as_tags textbook.tags %}<hr /> {% endif %} <h3> diff --git a/pytask/templates/templatetags/_as_tags.html b/pytask/templates/templatetags/_as_tags.html index 1cb0a0e..58d7b30 100644 --- a/pytask/templates/templatetags/_as_tags.html +++ b/pytask/templates/templatetags/_as_tags.html @@ -1,5 +1,3 @@ -<div id="tags"> - {% for tag in tags %} - <a href="{% url view_tag tag.name %}">{{ tag }}</a>{% if not forloop.last %},{% endif %} - {% endfor %} -</div>
\ No newline at end of file +{% for tag in tags %} + <a href="{% url view_tag tag.name %}">{{ tag }}</a>{% if not forloop.last %},{% endif %} +{% endfor %} |