Sha256: 7ded5578117731180f88b00d630a326c6b2d66b6955fe43ff7c437ab9231eb22

Contents?: true

Size: 353 Bytes

Versions: 13

Compression:

Stored size: 353 Bytes

Contents

<ul class="tab-language-switch" id="<%=tab.name%>_language_swith">
  <% I18n.available_locales.sort.each do |short_locale| %>
    <%  active = I18n.default_locale == short_locale %>
    <li class="<%=active ? "active" : ""%>" data-locale="<%=short_locale%>" data-tab="<%=tab.name%>">
      <%= short_locale.to_s.capitalize %>
    </li>
  <% end %>
</ul>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lolita-translation-0.3.3 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.18 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.3.2 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.3.1 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.3.0 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.9 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.8 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.7 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.6 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.5 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.1 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.2.0 app/views/components/lolita/translation/_switch.html.erb
lolita-translation-0.1.4 app/views/components/lolita/translation/_switch.html.erb