From c7610faff4f331847dd03a7139afd3f21ffa4a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Mon, 15 Nov 2021 13:15:57 +0800 Subject: [PATCH] fix error --- app/views/admin/faqs/_form_qa_file.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/faqs/_form_qa_file.html.erb b/app/views/admin/faqs/_form_qa_file.html.erb index e6f17fc..561e052 100644 --- a/app/views/admin/faqs/_form_qa_file.html.erb +++ b/app/views/admin/faqs/_form_qa_file.html.erb @@ -46,13 +46,13 @@ <% @site_in_use_locales.each do |locale| %>
  • <% end %> - <%= hidden_field_tag "bulletin[bulletin_files_attributes][#{( form_qa_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", '' %> + <%= hidden_field_tag "qa[qa_files_attributes][#{( form_qa_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", '' %> <% if form_qa_file.new_record? %>