X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/6d422530319d9fbacc37c271e22778d07414f0da..4efa3e9bc47cc649205a399fde51ed7e61bef7f8:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 5fce40f..2e4240e 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -19,12 +19,16 @@ ongoing election, you can log in to vote using your token here.

-

Vote Administrators

-

You must have an account to start a new election or to administer an -existing vote. You can log in or create a new account below.

+<% if session[:user] %> + <%= render_partial 'user_summary' %> +<% else %> +

Election Administrators

+

You must have an account to start a new election or to administer an + existing vote. You can log in or create a new account below.

-<%= render_partial 'basic_login' %> + <%= render_partial 'basic_login' %> +<% end %>