呈現語系

This commit is contained in:
User 2025-04-17 14:28:08 +08:00
parent c2feda461c
commit c936697164
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@
<% @site_in_use_locales.each do |locale| %>
<li>
<label class="checkbox">
<%= check_box_tag "event_news[event_news_files_attributes][#{( form_file.new_record? ? 'new_event_news_files' : "#{i}" )}][choose_lang][]", locale, form_file.choose_lang.include?(locale.to_s) %>
<%= t(locale.to_s), style: "float: inherit;" %>
<%= check_box_tag "event_news[event_news_files_attributes][#{( form_file.new_record? ? 'new_event_news_files' : "#{i}" )}][choose_lang][]", locale, form_file.choose_lang.include?(locale.to_s), style: "float: inherit;" %>
<%= t(locale.to_s) %>
</label>
</li>
<% end %>