]> projects.mako.cc - selectricity-live/blob - app/views/voter/full_vote.rhtml
Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live] / app / views / voter / full_vote.rhtml
1 <% %>
2
3 <p><strong>Election:</strong> <%= @voter.election.name %></p>
4 <p><strong>Voter:</strong> <%= @voter.email %></p>
5 <p><strong>Description:</strong></p>
6 <blockquote><%= @voter.election.description %></blockquote>
7
8 <%= render :partial => 'vote' %>
9
10 <%= render :partial => 'sortable_vote' %>
11
12 <%= button_to "Submit Vote", :action => 'review', :id => @voter.password %>
13

Benjamin Mako Hill || Want to submit a patch?