X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c35eb01007440d21ded1ec10e56406108fe44294..c820259a68a113590c6e93eb22717aaf4255018f:/app/views/voter/full_vote.rhtml diff --git a/app/views/voter/full_vote.rhtml b/app/views/voter/full_vote.rhtml index 9d4f1d0..80ea986 100644 --- a/app/views/voter/full_vote.rhtml +++ b/app/views/voter/full_vote.rhtml @@ -6,10 +6,12 @@

Description:

<%= @voter.election.description %>

+<% if @voter.election.authenticated? %>
Current Voter
+<% end %>

<%= @voter.email %>

@@ -30,12 +32,10 @@ vote.

<% @voter.election.candidates.each do |candidate| %> <% @current_candidate = candidate %> -
-

<%=h @current_candidate.name -%>

-
- <%=h (@current_candidate.description) %> -
+

<%= h @current_candidate.name %>

+ <%= render :partial => 'election/candidate_box_info' %>
<% end %> +