projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactored the results page
[selectricity-live]
/
app
/
views
/
quickvote
/
_result.rhtml
diff --git
a/app/views/quickvote/_result.rhtml
b/app/views/quickvote/_result.rhtml
index b64322455fefcd8c554d5c1f362232c824db9df4..e0ead6de4e3f27b60524554f0b06241578fcd169 100644
(file)
--- a/
app/views/quickvote/_result.rhtml
+++ b/
app/views/quickvote/_result.rhtml
@@
-1,9
+1,10
@@
-<
% %
>
+<
div class="winner"
>
<% if result.winner? and result.winners.length == 1%>
<% if result.winner? and result.winners.length == 1%>
- <p>
<em>
The winner is:
- <strong><%=h @candidates[result.winner].name.capitalize %></strong></
em></
p>
+ <p>The winner is:
+ <strong><%=h @candidates[result.winner].name.capitalize %></strong></p>
<% elsif result.winner? and result.winners.length > 1 %>
<% elsif result.winner? and result.winners.length > 1 %>
- <p>
<em>There was a tie. The winners are: <strong><%=h( result.winners.collect {|w| @candidates[w].to_s.capitalize}.join(", ") )%></strong></em
></p>
+ <p>
There was a tie. The winners are: <strong><%=h( result.winners.collect {|w| @candidates[w].to_s.capitalize}.join(", ") )%></strong
></p>
<% else %>
<% else %>
- <p>
<em>There is no winner using this method. </em>
</strong></p>
+ <p>
There is no winner using this method.
</strong></p>
<% end %>
<% end %>
+</div>
Benjamin Mako Hill
||
Want to submit a patch?