X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/c933ff40da110253bc4c474d9c79c3a4ed98721d..57a193789d1f48a856816c357483cfd7c621cd9d:/app/views/election/_voter_list.rhtml diff --git a/app/views/election/_voter_list.rhtml b/app/views/election/_voter_list.rhtml index c1035d7..4493b0a 100644 --- a/app/views/election/_voter_list.rhtml +++ b/app/views/election/_voter_list.rhtml @@ -1,23 +1,22 @@ -<% -# basic election information template --%> +<% if @election.voters.length == 0 %> -<% unless @election.voters.empty? %> -

The following voters are currently registered for this election:

+

There are currently no voters registered for this election.

- -<% end %> +<% else %> +

The following voters are currently registered for this election:

+ +<% end %>