projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct some help text.
[selectricity]
/
app
/
views
/
voter
/
full_vote.rhtml
diff --git
a/app/views/voter/full_vote.rhtml
b/app/views/voter/full_vote.rhtml
index 9d4f1d0675042eae322e577a5421c015e07f2941..be4f7bea7e400eaa4e0f6e688f0d39c61432f78d 100644
(file)
--- a/
app/views/voter/full_vote.rhtml
+++ b/
app/views/voter/full_vote.rhtml
@@
-6,10
+6,12
@@
<p><strong>Description:</strong></p>
<p><%= @voter.election.description %></p>
<p><strong>Description:</strong></p>
<p><%= @voter.election.description %></p>
+<% if @voter.election.authenticated? %>
<div class="normal-header">
<span class="header">Current Voter</span>
<span class="subheader"></span>
</div>
<div class="normal-header">
<span class="header">Current Voter</span>
<span class="subheader"></span>
</div>
+<% end %>
<p><strong><%= @voter.email %></strong></p>
<p><strong><%= @voter.email %></strong></p>
@@
-20,7
+22,8
@@
<p>Drag and drop the items on <strong>list in the left column</strong>
until they are in order from most preferred at the top to least
<p>Drag and drop the items on <strong>list in the left column</strong>
until they are in order from most preferred at the top to least
-preferred at the bottom. When you are done, press confirm to record your
+preferred at the bottom. When you are done, press the 'Submit Vote'
+button at the bottom of the left column to record your
vote.</p>
<div class="normal-header">
vote.</p>
<div class="normal-header">
@@
-30,12
+33,10
@@
vote.</p>
<% @voter.election.candidates.each do |candidate| %>
<% @current_candidate = candidate %>
<% @voter.election.candidates.each do |candidate| %>
<% @current_candidate = candidate %>
-
<div id="cand<%= @current_candidate.id %>">
<div id="cand<%= @current_candidate.id %>">
- <h3><%=h @current_candidate.name -%></h3>
- <blockquote>
- <%=h (@current_candidate.description) %>
- </blockquote>
+ <h3><%= h @current_candidate.name %></h3>
+ <%= render :partial => 'election/candidate_box_info' %>
</div>
<% end %>
</ul>
</div>
<% end %>
</ul>
+
Benjamin Mako Hill
||
Want to submit a patch?