collab/app/views/layouts/application.html.erb

27 lines
808 B
Plaintext
Raw Normal View History

2010-03-06 07:52:01 +00:00
<html xmlns="http://www.w3.org/1999/xhtml">
2010-03-04 06:22:45 +00:00
<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 %>
2010-03-06 07:52:01 +00:00
<%= stylesheet_link_tag 'scaffold', 'style', 'formtastic', 'formtastic_changes', :cache => :all %>
2010-03-06 08:00:02 +00:00
<%= yield :head %>
<title><%= @page_title %></title>
2010-03-04 06:22:45 +00:00
</head>
<body>
2010-03-05 06:48:00 +00:00
<div id='header'>
Collab
</div>
2010-03-04 06:22:45 +00:00
<% flash.each_key do |flash_key| %>
2010-03-05 06:48:00 +00:00
<div id='flash_<%=h flash_key.to_s %>' class='flash'>
<%=h flash[flash_key] %>
2010-03-04 06:22:45 +00:00
</div>
<% end %>
2010-03-05 06:48:00 +00:00
<div id='wrapper'>
<div id='content'>
<%= yield %>
</div>
</div>
2010-03-04 06:22:45 +00:00
</body>
2010-03-06 07:52:01 +00:00
</html>