Basis of rails-driven app for local business
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

22 lines
574 B

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <head>
  5. <title><%= h(yield(:title) || "Untitled") %></title>
  6. <%= stylesheet_link_tag 'reset', 'application' %>
  7. <%= yield(:head) %>
  8. </head>
  9. <body>
  10. <div id="container">
  11. <%- flash.each do |name, msg| -%>
  12. <%= content_tag :div, msg, :id => "flash_#{name}" %>
  13. <%- end -%>
  14. <%- if show_title? -%>
  15. <h1><%=h yield(:title) %></h1>
  16. <%- end -%>
  17. <%= yield %>
  18. </div>
  19. </body>
  20. </html>