beast rev 2066
[beast-modified.git] / app / views / layouts / application.html.erb
blobba7633ff0a8a450bcfba522cc1b40abff0448d00
1 <%= render :partial => "layouts/head" %>
3 <div id="container">
5 <div id="content">
6   
7 <%= content_tag 'p', h(flash[:notice]), :class => 'notice' if flash[:notice] %>
8 <%= content_tag 'p', h(flash[:error]), :class => 'notice error' if flash[:error] %>
9   
10 <%= yield %>
11 </div>
13 <div id="right">
14   <%= yield :right %>
15 </div>
17 <br style="clear:both;" />
19 </div>
21 <div id="footer">
22 <!--
23 <p class="legal">
24 <a href="/legal/" style="color:#369;">Legal</a>
25 </p>
26 -->
27 <p class="disclaim">
28 <strong>
29   <%
30   footers=["Two's company. Three's a forum. More's a Beast."[:footer_message]
31   ]
32   %>
33   <%= footers[rand(footers.size)]%>
34   </strong>
35 </p>
36 <p class="credit">
37   <%= 'Powered by'[:powered_by] %> <a href="http://beast.caboo.se/">Beast</a><br />
38   &copy; 2006 <a href="http://www.workingwithrails.com/person/5337-josh-goebel" class="subtle">Josh Goebel</a> <%= 'and'[:and] %> <a href="http://weblog.techno-weenie.net" class="subtle">Rick Olson</a>
39 </p>
40 <br style="clear:both;" />
41 </div>
42 </body>
43 </html>