app/views/kuppayam/workflows/parrot/create.js.erb in kuppayam-0.2.9.pre.materialize vs app/views/kuppayam/workflows/parrot/create.js.erb in kuppayam-0.2.10.pre.materialize
- old
+ new
@@ -25,10 +25,10 @@
notifySuccess("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(@notification[:message]) %>");
<% else %>
// Reload the form with errors
- var heading = "Add an <%= @resource_options[:collection_name] %>";
+ var heading = "Add <%= @resource_options[:collection_name] %>";
var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/form")) %>";
showGenericModal(heading, bodyContent, true);
// Show Main Error Message on the form
<% error_message = content_tag(:div, I18n.t('errors.errors_highlighted'), class: "alert alert-danger mt-20") %>