10 lines
279 B
HTML
10 lines
279 B
HTML
{% load get_range %}
|
|
|
|
{% if cost.any > 0 or cost.converted == 0 %}
|
|
<span class="mana">{{ cost.any }}</span>
|
|
{% endif %}
|
|
{% for type, mana in cost.mana.mana.items %}
|
|
{% for i in mana|get_range %}
|
|
<span class="mana {{ type }}"></span>
|
|
{% endfor %}
|
|
{% endfor %}
|