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">
<span class="type">
{{ card.type|title }}
&mdash;
{% for attr in card.attributes.all %}
{{ attr|title }}
{% endfor %}
{% if card.attributes.all %}
&mdash;
{% for attr in card.attributes.all %}
{{ attr|title }}
{% endfor %}
{% endif %}
</span>
<span class="rarity {{ card.rarity }}">
{% for key, rarity in card.rarities.items %}