]> projects.mako.cc - selectricity/blob - app/views/layouts/frontpage.rhtml
Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity] / app / views / layouts / frontpage.rhtml
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">
3   <head>
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" %>
8   </head>
9
10   <body>
11     <div id="page-wrapper">
12
13     <div id="header">
14           <a href="index.html"><h1>selectricity: voting machinery for the masses</h1></a>
15     </div>
16   
17   <div id="body">
18     <%= @content_for_layout %>
19   </div>
20   
21   <%= render_partial 'layouts/footer' %>
22 </div>
23 </body>
24
25 </html>

Benjamin Mako Hill || Want to submit a patch?