From 70156556633d208dde2b5a04c2a355b474be9830 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Tue, 21 Sep 2010 20:21:49 -0400 Subject: [PATCH] Card attribute display fix --- templates/cards/view.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/cards/view.html b/templates/cards/view.html index c08f22a..bd697a0 100644 --- a/templates/cards/view.html +++ b/templates/cards/view.html @@ -14,10 +14,12 @@
{{ 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 %} {% for key, rarity in card.rarities.items %}