projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from head
[selectricity-live]
/
app
/
views
/
quickvote
/
_pref_table.rhtml
diff --git
a/app/views/quickvote/_pref_table.rhtml
b/app/views/quickvote/_pref_table.rhtml
index 01de22bfa8efba944478c66b1dc5517cee015523..011fcbe8ac2d29aa7b2147797e249f99c3b57389 100644
(file)
--- a/
app/views/quickvote/_pref_table.rhtml
+++ b/
app/views/quickvote/_pref_table.rhtml
@@
-9,11
+9,13
@@
<tr>
<td> </td>
<% candidates.each do |candidate| -%>
<tr>
<td> </td>
<% candidates.each do |candidate| -%>
- <th><%= names[candidate] -%></th>
- <% end -%>
+ <th><%=h names[candidate] -%></th>
+ <% end -%>
+</tr>
+
<% candidates.each do |winner| -%>
<tr>
<% candidates.each do |winner| -%>
<tr>
- <th><%= names[winner] %></th>
+ <th><%=
h
names[winner] %></th>
<% candidates.each do |loser| -%>
<% if winner == loser -%>
<td> -- </td>
<% candidates.each do |loser| -%>
<% if winner == loser -%>
<td> -- </td>
@@
-27,4
+29,4
@@
<% end -%>
</tr>
<% end -%>
<% end -%>
</tr>
<% end -%>
-
+</table>
Benjamin Mako Hill
||
Want to submit a patch?