]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/display.html
1369e2ce96f2ac30abb2d9388aa564f587fe66cc
[djsite.git] / quotes / templates / quotes / display.html
1 <div class="quote">
2   <p class="text">
3     {{ quote.text }}
4   </p>
5
6   <p class="author">
7     — <span class="name"><a href="{% url 'quotes:author' quote.author.id %}">
8         {{ quote.author.name }}
9     </a></span>
10   </p>
11
12   {% if quote.tags.all %}
13     <p class="tags">
14       Tags:
15       {% for tag in quote.tags.all %}
16         <a href="{% url 'quotes:tags' tag.id %}" class="tag_link">
17           {{ tag.tag }}
18         </a>
19       {% endfor %}
20     </p>
21   {% endif %}
22
23   <p class="permalink">
24     <a href="{% url 'quotes:onequote' quote.id %}">Permalink</a>
25   </p>
26 </div>