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">
|
<div class="info">
|
||||||
<span class="type">
|
<span class="type">
|
||||||
{{ card.type|title }}
|
{{ card.type|title }}
|
||||||
|
{% if card.attributes.all %}
|
||||||
—
|
—
|
||||||
{% 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 %}
|
||||||
|
|
Loading…
Reference in a new issue