4 <title><%= @page_title || "Selectricity" %></title>
5 <%= stylesheet_link_tag "hc", :media => "all" %>
6 <% #engine_stylesheet 'login_engine' %>
8 <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
13 <h3><%= @page_title %></h3>
15 <h3>Selectricity<br />
16 <font size="-1">Voting Machinery for the Masses</font></h3>
20 <% if session[:user] %>
21 Welcome <strong><%= session[:user].login.capitalize %></strong>
23 <%= link_to("Login",:controller => "user", :action => "login")
24 %>/<%= link_to("Sign up", :controller => "user", :action => "signup")%>
27 <% if session[:user] %>
28 <%= link_to("Logout", :controller => "user", :action => "logout") %> |
31 <%= link_to("Help/About", :controller => "site", :action => "about") %>
35 <% if @flash[:notice]%>
36 <div id="notice"><%= @flash[:notice] %></div>
40 <%= @content_for_layout %>
45 <%= link_to "Copyleft", "http://mako.cc/projects/selectricity"
47 <%= link_to "MIT Media Lab", "http://www.media.mit.edu" %> and
48 <a href="http://mako.cc">Benjamin Mako Hill</a>