Signing ask-a-lawyer answers
[prawokultury.git] / questions / templates / questions / question_detail.html
index be19018..b3426e7 100755 (executable)
@@ -1,11 +1,24 @@
 {% extends "base.html" %}
+{% load url from future %}
 
-{% block "titleextra" %}{{ question }} :: {% endblock %}
+{% block "titleextra" %}{{ question|linebreaksbr }} :: {% endblock %}
 {% block "body" %}
-<h1>{{ question }}</h1>
+<h1>{{ question|linebreaksbr }}</h1>
+
+<div class="normal">
+{% if question.tags.all.count %}
+<p>Tematy: 
+{% for tag in question.tags.all %}
+    <a href="{% url 'questions' %}?tag={{ tag.slug }}">{{ tag }}</a>{% if not forloop.last %} / {% endif %}
+{% endfor %}
+{% endif %}
+</p>
 
 {{ question.answer }}
 
+<p>dr Krzysztof Siewicz</p>
+
 <p><a href="{% url 'questions' %}">Wróć do listy pytań.</a></p>
 
-{% endblock %}
\ No newline at end of file
+</div>
+{% endblock %}