fix error

This commit is contained in:
chiu committed 2021-11-15 04:32:11 +00:00
1 parent 9b905812cb
commit 42a6a89893
1 file changed
+2 -2
@@ -52,7 +52,7 @@
</li>
<% end %>
</ul>
<%= hidden_field_tag 'bulletin[bulletin_files_attributes][0][choose_lang][]', '' %>
<%= hidden_field_tag 'bulletin[bulletin_files_attributes][#{( form_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]', '' %>
</span>
<% if form_file.new_record? %>
<span class="delete_file add-on btn" title="<%= t(:delete_) %>">
@@ -86,4 +86,4 @@
<%= f.hidden_field :privacy_type, class: 'privacy_type' %>
</span>
</div>
</div>
</div>