Sha256: 0e9653cd74644ad29eb9d9be88ffee7cebee60b4ae6d08b520deefd26d48a51b

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

<% param ||= "s"%>
<ul class="lang-tabs" id="lang_tab_ul_<%=param%>">
  <% Globalize.available_locales.each do |locale| %>
    <%= content_tag(:li, :class=>(I18n.locale.to_s == locale.to_s ? 'active' : 'not-active')) do %>
      <span><%= link_to_function t("manage.locale.#{locale}"), 'TabPanel.click(event)', :class=>locale, :id=>"#{param + locale.to_s}" %></span>
    <% end %>
  <% end %>
</ul>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sunrise-core-0.1.3 app/views/manage/shared/_locale.html.erb
sunrise-core-0.1.2 app/views/manage/shared/_locale.html.erb
sunrise-core-0.1.1 app/views/manage/shared/_locale.html.erb
sunrise-core-0.1.0 app/views/manage/shared/_locale.html.erb