2007-11-15 01:49:33 -05:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2007-11-15 18:42:26 -05:00
|
|
|
<title><%= page_title -%></title>
|
2007-11-15 01:49:33 -05:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
|
<%= stylesheet_link_tag 'application', :media => 'all' %>
|
|
|
|
<%= javascript_include_tag :defaults %>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<%= @content_for_script %>
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<% flash.keys.each do |key| -%>
|
|
|
|
<div id="<%= key -%>">
|
|
|
|
<%= flash[key] %>
|
|
|
|
</div>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<div id="header">
|
2007-11-15 18:42:26 -05:00
|
|
|
<h1><%= content_title -%></h1>
|
2007-11-15 01:49:33 -05:00
|
|
|
<h2><%= secondary_title -%></h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="page">
|
|
|
|
<div id="content">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
|
|
|
<div id="sidebar">
|
2007-11-15 19:57:44 -05:00
|
|
|
<%= link_to_unless_current 'Browse The Beer Wiki', pages_path -%><br />
|
|
|
|
<%= link_to_unless_current 'Browse Beers', beers_path -%><br />
|
|
|
|
<%= link_to_unless_current 'Browse Breweries', breweries_path -%><br />
|
2007-11-28 01:17:25 -05:00
|
|
|
<%= link_to_unless_current 'Discussions', discussions_path -%><br />
|
2007-11-15 19:57:44 -05:00
|
|
|
<hr />
|
|
|
|
<%= yield :sidebar %>
|
2007-11-15 01:49:33 -05:00
|
|
|
</div>
|
|
|
|
<br style="clear:both;" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="footer">
|
|
|
|
<hr />
|
|
|
|
<p><a href="http://www.penguincoder.org">PenguinCoder</a></p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2007-11-15 18:42:26 -05:00
|
|
|
</body>
|