app/views/admin/base/update.js.erb in ab_admin-0.8.3 vs app/views/admin/base/update.js.erb in ab_admin-0.9.0
- old
+ new
@@ -1,4 +1,9 @@
+<% if params[:flash] %>
+ flash("<%= t("flash.admin.actions.#{action_name}.notice", resource_name: resource_class.model_name.human(count: 1)) %>")
+<% end %>
+
+
<% unless params[:modal] %>
<%
form_wrap_id = dom_id(resource, 'list_edit')
html = render('table', collection: [resource]).match(/<tbody>(.*)<\/tbody>/m)[1].html_safe
%>
\ No newline at end of file