Sha256: 4d32c8a134f3b25371a6b7fedbf60febdaa7feab5a33ed08c822bcaeaeb88160

Contents?: true

Size: 535 Bytes

Versions: 47

Compression:

Stored size: 535 Bytes

Contents

<% if available_locales.length > 1 %>
  <div class="topbar__dropmenu language-choose">
    <ul class="dropdown menu" data-dropdown-menu>
      <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

47 entries across 47 versions & 2 rubygems

Version Path
decidim-core-0.4.1 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.4.3 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.4.0 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.3.2 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.3.1 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.3.0 app/views/layouts/decidim/_language_chooser.html.erb
decidim-core-0.2.0 app/views/layouts/decidim/_language_chooser.html.erb