X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/bf1d24c356406d42a28aa8bb35e9bd567eefca9f..20cae2b9f1107273ddf18cd9d5f78d873ec9afd2:/app/views/quickvote/results.rhtml?ds=sidebyside
diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml
index 5fd5f9e..78e74e8 100644
--- a/app/views/quickvote/results.rhtml
+++ b/app/views/quickvote/results.rhtml
@@ -6,7 +6,7 @@
-<%= render :partial => 'result', :object => @results[@election.election_method] %>
+<%= render :partial => 'common/result', :object => @results[@election.election_method] %>
<% if @election.shortdesc %>
@@ -23,7 +23,7 @@
<% for candidate in @election.candidates.sort %>
- - <%=h candidate.name.capitalize %>
+ - <%= white_list(candidate.name.capitalize) %>
<% end %>
@@ -32,12 +32,12 @@
<%= @election.voters.reject {|v| not v.voted? }.length %>
-<%= render :partial => 'result_box',
+<%= render :partial => 'common/result_box',
:locals => { :method => @election.election_method } %>
<% for result_type in @election.other_methods %>
-<%= render :partial => 'result_box',
+<%= render :partial => 'common/result_box',
:locals => { :method => result_type } %>
<% end %>