]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_approval_table.rhtml
Added a check to make sure a voter has a valid email address before attempting ot...
[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| %>
   <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>
        
          <% end -%>
   </tr>
        
@@ -12,4 +12,4 @@
                <td><%= points %></td>
        <% end -%>
   </tr>
                <td><%= points %></td>
        <% end -%>
   </tr>
-</table>
\ No newline at end of file
+</table>

Benjamin Mako Hill || Want to submit a patch?