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.

24 lines
659 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. <%= javascript_include_tag :defaults %>
  7. <%= stylesheet_link_tag 'reset', 'application' %>
  8. <%= calendar_date_select_includes %>
  9. <%= yield(:head) %>
  10. </head>
  11. <body>
  12. <div id="container">
  13. <%- flash.each do |name, msg| -%>
  14. <%= content_tag :div, msg, :id => "flash_#{name}" %>
  15. <%- end -%>
  16. <%- if show_title? -%>
  17. <h1><%=h yield(:title) %></h1>
  18. <%- end -%>
  19. <%= yield %>
  20. </div>
  21. </body>
  22. </html>