Card attribute display fix
This commit is contained in:
parent
3e9414fb85
commit
7015655663
1 changed files with 6 additions and 4 deletions
|
@ -14,10 +14,12 @@
|
|||
<div class="info">
|
||||
<span class="type">
|
||||
{{ card.type|title }}
|
||||
—
|
||||
{% for attr in card.attributes.all %}
|
||||
{{ attr|title }}
|
||||
{% endfor %}
|
||||
{% if card.attributes.all %}
|
||||
—
|
||||
{% for attr in card.attributes.all %}
|
||||
{{ attr|title }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</span>
|
||||
<span class="rarity {{ card.rarity }}">
|
||||
{% for key, rarity in card.rarities.items %}
|
||||
|
|
Loading…
Reference in a new issue