4 <title><%= @page_title || "Selectricity" %></title>
5 <%= stylesheet_link_tag "hc", :media => "all" %>
7 <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
12 <h3><%= @page_title %></h3>
14 <span id="headertext"><%= link_to('<h3>Selectricity<br />
15 <font size="-1">Voting Machinery for the Masses</font></h3>', :controller =>
16 'site', :action => 'index')%></span>
20 <% if session[:user] %>
21 Welcome <strong><%= User.find(session[:user]).login.capitalize %></strong>
23 <%= link_to("Login", :controller => "account", :action => "login")
24 %>/<%= link_to("Sign up", :controller => "account", :action => "signup")%>
27 <% if session[:user] %>
28 <%= link_to("Logout", :controller => "account", :action => "logout") %> |
31 <%= link_to("Help/About", :controller => "site", :action => "about") %>
32 <%= link_to( "Home", :controller => 'site', :action => 'index' )%>
36 <% if flash[:notice]%>
37 <div id="notice"><%= flash[:notice] %></div>
41 <%= @content_for_layout %>
46 <%= link_to "Copyleft", "http://mako.cc/projects/selectricity"
48 <%= link_to "MIT Media Lab", "http://www.media.mit.edu" %> and
49 <a href="http://mako.cc">Benjamin Mako Hill</a>