From ae9f8c28da00e31827ae99b6345f7009d4fd7108 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Mon, 1 Aug 2016 15:08:25 +0100 Subject: [PATCH] Add text style --- views/candidate.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/candidate.haml b/views/candidate.haml index 247c722..768f340 100644 --- a/views/candidate.haml +++ b/views/candidate.haml @@ -38,7 +38,7 @@ - else %td.right= commify(ccy['votes']) %td.right= to_ordinal(ccy['position']) - %td= ccy['seats'] == 1 ? "Elected" : "Not elected" + %td.elected_text= ccy['seats'] == 1 ? "Elected" : "Not elected" .warning %p @@ -48,4 +48,4 @@ Some candidates have more than one profile page due to them using slightly different names in different elections. See the full %a{ :href => "/candidates/##{@candidate.surname[0]}" }< candidates list - for details. + for details.