{{ card.name|title }} {% include 'cards/manacost.html' %}
{{ card.type|title }} — {% for attr in card.attributes.all %} {{ attr|title }} {% endfor %} {% for key, rarity in card.rarities.items %} {% if key == card.rarity %}{{ rarity }}{% endif %} {% endfor %}