collab/app/views/layouts/application.html.erb
2010-03-06 03:00:02 -05:00

27 lines
808 B
Plaintext

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%= csrf_meta_tag %>
<%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js",
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js",
:defaults %>
<%= stylesheet_link_tag 'scaffold', 'style', 'formtastic', 'formtastic_changes', :cache => :all %>
<%= yield :head %>
<title><%= @page_title %></title>
</head>
<body>
<div id='header'>
Collab
</div>
<% flash.each_key do |flash_key| %>
<div id='flash_<%=h flash_key.to_s %>' class='flash'>
<%=h flash[flash_key] %>
</div>
<% end %>
<div id='wrapper'>
<div id='content'>
<%= yield %>
</div>
</div>
</body>
</html>