From c8778508123391c637e0dbc71ca4ccdb36e400a3 Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 15 Nov 2021 04:34:06 +0000 Subject: [PATCH] fix error --- app/views/admin/announcements/_form_file.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/announcements/_form_file.html.erb b/app/views/admin/announcements/_form_file.html.erb index c540a0c..be3feb5 100644 --- a/app/views/admin/announcements/_form_file.html.erb +++ b/app/views/admin/announcements/_form_file.html.erb @@ -52,7 +52,7 @@ <% end %> - <%= hidden_field_tag 'bulletin[bulletin_files_attributes][#{( form_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]', '' %> + <%= hidden_field_tag "bulletin[bulletin_files_attributes][#{( form_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", '' %> <% if form_file.new_record? %>