lib/generators/dynamic_scaffold/templates/views/new.erb in dynamic_scaffold-0.1.4 vs lib/generators/dynamic_scaffold/templates/views/new.erb in dynamic_scaffold-0.2.0
- old
+ new
@@ -1,3 +1,6 @@
-<%%= render 'dynamic_scaffold/bootstrap/new' %>
+<% if @content_for %><%% content_for :<%= @content_for %> do%>
+<%end -%>
+<% if @content_for %> <%end%><%%= render 'dynamic_scaffold/bootstrap/new' %>
+<% if @content_for %><%% end %><%end -%>
\ No newline at end of file