fix error
This commit is contained in:
parent
3867b8fc69
commit
941641a300
|
@ -52,7 +52,7 @@
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<%= hidden_field_tag 'event_news[event_news_files_attributes][0][choose_lang][]', '' %>
|
<%= hidden_field_tag "event_news[event_news_files_attributes][#{( form_file.new_record? ? 'new_event_news_files' : "#{i}" )}][choose_lang][]", '' %>
|
||||||
</span>
|
</span>
|
||||||
<% if form_file.new_record? %>
|
<% if form_file.new_record? %>
|
||||||
<span class="delete_file add-on btn" title="<%= t(:delete_) %>">
|
<span class="delete_file add-on btn" title="<%= t(:delete_) %>">
|
||||||
|
|
Loading…
Reference in New Issue