fix error
This commit is contained in:
parent
fff3b11cdb
commit
398d9e5027
|
@ -46,13 +46,13 @@
|
||||||
<% @site_in_use_locales.each do |locale| %>
|
<% @site_in_use_locales.each do |locale| %>
|
||||||
<li>
|
<li>
|
||||||
<label class="checkbox">
|
<label class="checkbox">
|
||||||
<%= check_box_tag "bulletin[bulletin_files_attributes][#{( form_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", locale, form_file.choose_lang.include?(locale.to_s) %>
|
<%= check_box_tag "bulletin[bulletin_files_attributes][#{( form_qa_file.new_record? ? 'new_bulletin_files' : "#{i}" )}][choose_lang][]", locale, form_qa_file.choose_lang.include?(locale.to_s) %>
|
||||||
<%= t(locale.to_s) %>
|
<%= t(locale.to_s) %>
|
||||||
</label>
|
</label>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
<%= 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][]", '' %>
|
||||||
</span>
|
</span>
|
||||||
<% if form_qa_file.new_record? %>
|
<% if form_qa_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