fix error
This commit is contained in:
parent
3867b8fc69
commit
941641a300
|
@ -52,7 +52,7 @@
|
|||
</li>
|
||||
<% end %>
|
||||
</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>
|
||||
<% if form_file.new_record? %>
|
||||
<span class="delete_file add-on btn" title="<%= t(:delete_) %>">
|
||||
|
@ -66,4 +66,4 @@
|
|||
</span>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue