]> gitweb.fperrin.net Git - djsite.git/blob - quotes/templates/quotes/display.html
Initial migration
[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 %}">{{ tag.tag }}</a>
17       {% endfor %}
18     </p>
19   {% endif %}
20 </div>