fixed up a series of things in prepration for the stress test on friday
[selectricity] / app / views / layouts / frontpage.rhtml
index d5a5f01e7cef0a36364f5e83efbfd1a3fa621dc2..81c77dc014995599a07cfe78dde15d1a10af326c 100644 (file)
     <div id="header">
       <div id="top-bar">
        <% if session[:user]%>
-       <%= link_to User.find(session[:user]).login.capitalize,
+       <%= link_to User.find(session[:user]).login.downcase,
                   :controller => "account",
                   :action => "summary", :id => session[:user][:id] %>
-       &nbsp;&nbsp;<%= link_to( 'Log out', :controller => 'account', 
+       &nbsp;&nbsp;<%= link_to( 'log out', :controller => 'account', 
                        :action => 'logout' )%>
        <% else %>
       <%= link_to("login", :controller => "account", :action => "login")
       %>
-      &nbsp;&nbsp;<%= link_to("sign up", :controller => "account", 
-                                :action => "signup")%>
+      &nbsp;&nbsp;<%= link_to "sign up", :controller => "account", 
+                                :action => "signup" %> 
     <% end -%>
-      &nbsp;&nbsp;<%= link_to("help/about", :controller => "site", 
-                               :action => 'about')%>
+      &nbsp;&nbsp;<%= link_to "help/about", :controller => 'about' %>
       </div>
-         <a href="index.html"><h1>selectricity: voting machinery for the masses</h1></a>
+         <a href="/"><h1>selectricity: voting machinery for the masses</h1></a>
     </div>
   
   <div id="body">
     <%= @content_for_layout %>
   </div>
   
-  <%= render_partial 'layouts/footer' %>
+  <%= render :partial => 'layouts/footer' %>
 </div>
 </body>
 

Benjamin Mako Hill || Want to submit a patch?