:election_id => @election.id %>.</div>
<% elsif (@election.active? && @election.early_results? ) %>
- <div id="status">The creator of this election has decided that the results
+ <div id="status">You have decided that the results
should be viewable while the election is in progress.
- <%if @election.voters.empty? %>
+ <%if @election.voters.select {|v| v.vote.confirmed?}.empty? %>
However, no one has voted yet.
<% else %>
- <%= link_to "View results", :controller => 'voter', :action => 'results',
- :id => "open" %>.
+ <%= link_to "View results", :controller => 'election', :action => 'results',
+ :id => @election.id %>.
<% end %>
</div>
<% elsif @election.active? %>