projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Major integration of Courtland's design into the QuickVotes.
[selectricity-live]
/
app
/
views
/
election
/
_voter_list.rhtml
diff --git
a/app/views/election/_voter_list.rhtml
b/app/views/election/_voter_list.rhtml
index c55afdb63e62ebc10768bfc1fb3c65c67d76c09f..4493b0a3950f5c862576f4172c7463004a9d15fa 100644
(file)
--- a/
app/views/election/_voter_list.rhtml
+++ b/
app/views/election/_voter_list.rhtml
@@
-1,12
+1,13
@@
-<% %>
-
<% if @election.voters.length == 0 %>
<% if @election.voters.length == 0 %>
+
<p>There are currently no voters registered for this election.</p>
<p>There are currently no voters registered for this election.</p>
+
<% else %>
<% else %>
+
<p>The following voters are currently registered for this election:</p>
<ul>
<p>The following voters are currently registered for this election:</p>
<ul>
-
<% @election.voters.each do |voter| %>
+<% @election.voters.each do |voter| %>
<div id="voter<%= voter.id %>">
<li><%= voter.email %>
<% if @edit %>
<div id="voter<%= voter.id %>">
<li><%= voter.email %>
<% if @edit %>
Benjamin Mako Hill
||
Want to submit a patch?