Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 605 Bytes
<!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>
<title><%%= h(yield(:title) || "Untitled") %></title>
<%%= stylesheet_link_tag '<%= file_name %>' %>
<%%= yield(:head) %>
</head>
<body>
<div id="container">
<%%- flash.each do |name, msg| -%>
<%%= content_tag :div, msg, :id => "flash_#{name}" %>
<%%- end -%>
<%%- if show_title? -%>
<h1><%%=h yield(:title) %></h1>
<%%- end -%>
<%%= yield %>
</div>
</body>
</html>