lib/generators/dry_crud/templates/app/views/crud/new.html.erb in dry_crud-1.2.5 vs lib/generators/dry_crud/templates/app/views/crud/new.html.erb in dry_crud-1.2.6
- old
+ new
@@ -1,7 +1,7 @@
<% @title ||= "New #{models_label.singularize}" -%>
-<%= render :partial => 'form' %>
+<% content_for(:actions, link_action_index) %>
-<br/>
+<%= clear %>
-<%= link_action_index %>
+<%= render :partial => 'form' %>