X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..fc0a6a8d7ea15bcdb27ebdd58721401c7045c6e0:/app/views/election/_voter_list.rhtml diff --git a/app/views/election/_voter_list.rhtml b/app/views/election/_voter_list.rhtml old mode 100644 new mode 100755 index c1035d7..c55afdb --- a/app/views/election/_voter_list.rhtml +++ b/app/views/election/_voter_list.rhtml @@ -1,23 +1,21 @@ -<% -# basic election information template --%> +<% %> -<% unless @election.voters.empty? %> -

The following voters are currently registered for this election:

+<% if @election.voters.length == 0 %> +

There are currently no voters registered for this election.

+<% else %> +

The following voters are currently registered for this election:

- + <% end %> - -