Commit d85f1a4b

mo k <mo@mokhan.ca>
2012-09-21 03:41:16
move header for creation new and edit to page_header content section.
1 parent 837b206
Changed files (2)
app/views/creations/edit.html.erb
@@ -1,7 +1,7 @@
 <% provide(:title, "Editing creation #{@creation.name}") %>
-<div class="page-header">
+<% content_for :page_header do -%>
   <h1><small>Edit</small> <%= @creation.name %></h1>
-</div>
+<% end -%>
 <div class="row">
   <div class="span3">
     <div class="thumbnail">
app/views/creations/new.html.erb
@@ -1,7 +1,7 @@
 <% provide(:title, "Share my creation") -%>
-<div class="page-header">
+<% content_for :page_header do -%>
   <h1>Share a new creation</h1>
-</div>
+<% end -%>
 <div class="row">
   <div class="span3">
     <div class="thumbnail">