From 398d9e502718cbf9b1bd5c8497a84eec95fa4f87 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 12:37:18 +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 7d70f48..e6f17fc 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_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", '' %> + <%= hidden_field_tag "bulletin[bulletin_files_attributes][#{( form_qa_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", '' %> <% if form_qa_file.new_record? %>