Working on a step-by-step workflow audit.
[selectricity] / app / views / site / index.rhtml
index 5fce40fe1d51bfeea3c4267c10a7a364c641e3a1..2e4240e2c3e80a3396336329f65d38e41515515d 100644 (file)
@@ -19,12 +19,16 @@ ongoing election, you can log in to vote using your token here.</p>
 <td width="6%"></td>
 
 <td width="47%" valign="top">
-<h2>Vote Administrators</h2>
 
-<p>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.</p>
+<% if session[:user] %>
+  <%= render_partial 'user_summary' %> 
+<% else %>
+  <h2>Election Administrators</h2>
+  <p>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.</p>
 
-<%= render_partial 'basic_login' %>
+  <%= render_partial 'basic_login' %>
+<% end %>
 </td>
 </tr>
 </table>

Benjamin Mako Hill || Want to submit a patch?