Sha256: 6753c2ac33306c2757904362794d9cf7f3f6679ebf5846cbfdb410459bbfbb2c

Contents?: true

Size: 570 Bytes

Versions: 3

Compression:

Stored size: 570 Bytes

Contents

<% if available_locales.length > 1 %>
  <div class="topbar__dropmenu language-choose">
    <ul class="dropdown menu" data-dropdown-menu data-close-on-click-inside="false">
      <li class="is-dropdown-submenu-parent">
        <%= link_to t("name", scope: "locale") %>
        <ul class="menu is-dropdown-submenu">
          <% (available_locales - [I18n.locale.to_s]).each do |locale| %>
            <li><%= link_to locale_name(locale), decidim.locale_path(locale: locale), method: :post%></li>
          <% end %>
        </ul>
      </li>
    </ul>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.1.0 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.0.8.1 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.0.7 app/views/layouts/decidim/_language_chooser.html.erb