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 }}
&mdash; {% if card.attributes.all %}
{% for attr in card.attributes.all %} &mdash;
{{ attr|title }} {% for attr in card.attributes.all %}
{% endfor %} {{ attr|title }}
{% 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 %}