]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_approval_table.rhtml
Embeddable elctions now scale based on how many candidates in the election there...
[selectricity] / app / views / quickvote / _approval_table.rhtml
index 85185eedf3925aaf41072720c01a175b853a9930..1c16d1d724ae97bfc42012e9d7304106708b83cf 100644 (file)
@@ -2,7 +2,7 @@
   <tr>
        <td>Candidate</td>
          <% @election.approval_result.points.keys.sort.each do |candidate| %>
-               <th><%=h @names[candidate] %></th>
+               <th><%= white_list(@names[candidate]) %></th>
          <% end -%>
   </tr>
        
@@ -12,4 +12,4 @@
                <td><%= points %></td>
        <% end -%>
   </tr>
-</table>
\ No newline at end of file
+</table>

Benjamin Mako Hill || Want to submit a patch?