]> projects.mako.cc - selectricity-live/blobdiff - app/views/site/index.rhtml
Users can now login form the site homepage (previously the front login page
[selectricity-live] / app / views / site / index.rhtml
index c82840356ced7ce753ab8f1134e431aa7dd4f6d7..9e2f7b51a3ab78a0213e0650ff457614da656706 100644 (file)
@@ -1,3 +1,4 @@
+<% %>
 <div id="voters" class="main-section">
   <div id="voters-content">
   <h2>Voters</h2>
 <div id="control-room" class="main-section">
   <div id="control-room-content">
   <h2>Control Room</h2>
-
   <% if session[:user] %>
     <%= render :partial => 'user_summary' %> 
   <% else %>
     
     <p>You must have an account to start a new vote 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 %>
 
   </div>

Benjamin Mako Hill || Want to submit a patch?