lib/generators/dry_crud/templates/app/views/crud/edit.html.erb in dry_crud-1.2.7 vs lib/generators/dry_crud/templates/app/views/crud/edit.html.erb in dry_crud-1.3.0
- old
+ new
@@ -1,7 +1,7 @@
-<% @title ||= "Edit #{full_entry_label}" -%>
+<% @title ||= ti(:title, :model => full_entry_label).html_safe -%>
-<% content_for(:actions, render(:partial => 'actions_edit')) %>
+<% content_for(:actions, render('actions_edit')) %>
<%= clear %>
-<%= render :partial => 'form' %>
+<%= render 'form' %>