X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2ba40f97b78f529984ff26c7c7d61c91d213e7b0..99e1580f0d7707b8e2f8c08f8aae70c3d4906637:/app/views/election/_voter_list.rhtml diff --git a/app/views/election/_voter_list.rhtml b/app/views/election/_voter_list.rhtml index 2a39b8c..34aa207 100644 --- a/app/views/election/_voter_list.rhtml +++ b/app/views/election/_voter_list.rhtml @@ -1,19 +1,23 @@ -<% -# basic election information template --%> +<% 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 %>