Card attribute display fix

This commit is contained in:
Correl Roush 2010-09-21 20:21:49 -04:00
parent 3e9414fb85
commit 7015655663

View file

@ -14,10 +14,12 @@
<div class="info"> <div class="info">
<span class="type"> <span class="type">
{{ card.type|title }} {{ card.type|title }}
{% if card.attributes.all %}
&mdash; &mdash;
{% for attr in card.attributes.all %} {% for attr in card.attributes.all %}
{{ attr|title }} {{ attr|title }}
{% endfor %} {% endfor %}
{% endif %}
</span> </span>
<span class="rarity {{ card.rarity }}"> <span class="rarity {{ card.rarity }}">
{% for key, rarity in card.rarities.items %} {% for key, rarity in card.rarities.items %}