1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5 <title>Selectricity</title>
6 <%= stylesheet_link_tag "common", :media => "all" %>
7 <%= stylesheet_link_tag "front", :media => "all" %>
11 <div id="page-wrapper">
15 <% if session[:user]%>
16 <%= link_to User.find(session[:user]).login.capitalize,
17 :controller => "account",
18 :action => "summary", :id => session[:user][:id] %>
19 <%= link_to( 'Log out', :controller => 'account',
20 :action => 'logout' )%>
22 <%= link_to("login", :controller => "account", :action => "login")
24 <%= link_to "sign up", :controller => "account",
25 :action => "signup" %>
27 <%= link_to "help/about", :controller => 'about' %>
29 <a href="index.html"><h1>selectricity: voting machinery for the masses</h1></a>
33 <%= @content_for_layout %>
36 <%= render_partial 'layouts/footer' %>