app/views/mcms_pages/admin/layouts/index.html.erb in mcms_pages-0.0.2 vs app/views/mcms_pages/admin/layouts/index.html.erb in mcms_pages-0.0.3
- old
+ new
@@ -27,11 +27,12 @@
<%= layout.name %>
</div>
<div class="layout-image">
- <%= image_tag("layouts/#{layout.name.tr(' ', '-')}.png", :size => "400x400", :alt => "#{layout.name}", :title => "click to view large") %>
+ <%= image_tag("layouts/#{layout.name.tr(' ', '-')}.png", :size => "400x400",
+ :alt => "#{layout.name}", :title => "click to view large") %>
</div>
<div class="layout-link">
<!-- if parent_id is not 0 then send parent_id through url -->
@@ -51,7 +52,8 @@
<% end %>
</div>
+<!-- render partial _head.html.erb to include JS and CSS for specific page-->
<%= render :partial => "mcms_pages/layouts/head" %>