|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html>
|
|
<head>
|
|
<title><%= h(yield(:title) || "The Foreman") %></title>
|
|
<%= stylesheet_link_tag 'style' %>
|
|
<%= yield(:head) %>
|
|
<script src='http://www.google.com/jsapi'></script>
|
|
<%= javascript_include_tag :defaults %>
|
|
<%= active_scaffold_includes %>
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<%= render :partial => 'home/topbar' %>
|
|
<div class="title">
|
|
<center>The Foreman</center>
|
|
</div>
|
|
<%= render :partial => "home/menu" -%>
|
|
</div>
|
|
<%= content_tag('div', flash[:foreman_error], :class => 'flash error') if flash[:foreman_error] -%>
|
|
<%= content_tag('div', flash[:foreman_notice], :class => 'flash notice') if flash[:foreman_notice] -%>
|
|
<div id="content" style="clear:both;">
|
|
<%- if show_title? -%>
|
|
<h1><%=h yield(:title) %></h1>
|
|
<%- end -%>
|
|
<%= yield -%>
|
|
</div>
|
|
<div id="footer">
|
|
© 2009-2010 <%= mail_to "paul.ian.kelly@googlemail.com", "Paul Kelly" %> and <%= mail_to "ohadlevy@gmail.com", "Ohad Levy" %>
|
|
</div>
|
|
</body>
|
|
</html>
|