From c7fd7194c9f28bfedba3bd0f5d505d32baa70bdd Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 19 Aug 2019 15:31:04 +0800 Subject: [PATCH] Update _form_file.html.erb try fix --- app/views/admin/journal_papers/_form_file.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/journal_papers/_form_file.html.erb b/app/views/admin/journal_papers/_form_file.html.erb index 7d52692..a1d8251 100644 --- a/app/views/admin/journal_papers/_form_file.html.erb +++ b/app/views/admin/journal_papers/_form_file.html.erb @@ -38,7 +38,7 @@ <%= f.hidden_field :id %> - <%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %> + <%= f.hidden_field :_destroy, :value => nil, :class => 'should_destroy' %> <% end %>