spec/dummy/app/views/layouts/cms.html.erb in activeadmin-selleo-cms-0.0.14 vs spec/dummy/app/views/layouts/cms.html.erb in activeadmin-selleo-cms-0.0.16
- old
+ new
@@ -12,15 +12,23 @@
<% @page.roots.each do |root| %>
<%= link_to_page root %>
<% end %>
</ul>
-<h1><%= yield :header %></h1>
+<h1>
+ <section name='header'>
+ <%= yield :header %>
+ </section>
+</h1>
-<%= yield :content %>
+<section name='content' data-type='ckeditor'>
+ <%= yield :content %>
+</section>
<hr/>
-<%= yield :footer %>
+<section name='footer'>
+ <%= yield :footer %>
+</section>
</body>
</html>