呈現語系

This commit is contained in:
User 2025-04-17 09:34:22 +08:00
parent e2421ed482
commit c2feda461c
2 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,12 @@
<%= stylesheet_link_tag "lib/main-list" %>
<% end %>
<style type="text/css">
[aria-describedby] ul.dropdown-menu {
display: block;
}
[aria-describedby] .checkbox input{
margin-left: 0;
}
.reach_limit{
background: #a90c0c;
color: white;

View File

@ -47,7 +47,7 @@
<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) %>
<%= t(locale.to_s), style: "float: inherit;" %>
</label>
</li>
<% end %>