% %>
<% if @voter.election.shortdesc %>
<%= @voter.election.shortdesc %>
<% else %>
QuickVote
<% end %>
<% if @voter.election.longdesc %>
Description:
<%= @voter.election.longdesc %>
Vote
<% end %>
<% if @voter.session_id %>
You have already voted. You can:
- <%= link_to "Change your vote.", quickaction_url( :votename => @voter.election.name, :action => 'change' ) %>
- <%= link_to "View election results.", quickaction_url( :votename => @voter.election.name, :action => 'results' ) %>
<% else %>
<%= render_partial 'voter/vote' %>
<% end %>