Changed properties to remove unecessary exectables.
[selectricity-live] / app / views / quickvote / results.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index ef2ffd9..7152072
@@ -21,7 +21,7 @@
 
 <p><strong>Number of voters:</strong></p>
    <blockquote>
-     <%= @election.voters.length %> (see below for details) 
+     <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details) 
    </blockquote>
 
 <h2>Winners</h2>
@@ -161,3 +161,7 @@ by several other names.</p>
   </tr>
 <% end %>
 </table>
+
+<img src="<% url_for(:action => 'day_votes', :id => @election)%>" />
+<%= image_tag( graph_url( :action => 'day_votes', :id => @election ) ) %>
+<%= image_tag( graph_url( :action => 'show' ) ) %>

Benjamin Mako Hill || Want to submit a patch?