4 <title><%= @page_title || "HyperChad" %></title>
5 <%= stylesheet_link_tag "vb", :media => "all" %>
6 <% #engine_stylesheet 'login_engine' %>
8 <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
13 <h3><%= @page_title %></h3>
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 %>
44 <div id="footer">Copyleft 2006 |
45 <%= link_to "MIT Media Lab", "http://www.media.mit.edu" %> and
46 <a href="http://mako.cc">Benjamin Mako Hill</a>