Sha256: bdb1fdf4682dfb1441c1fd6e1e70f769a21d50252ea1bfeb23d90726fb47e9db

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

<% param ||= "s"%>
<ul class="lang-tabs" id="lang_tab_ul_<%=param%>">
  <% Sunrise.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

5 entries across 5 versions & 1 rubygems

Version Path
sunrise-core-0.2.2 app/views/manage/shared/_locale.html.erb
sunrise-core-0.2.1 app/views/manage/shared/_locale.html.erb
sunrise-core-0.2.0 app/views/manage/shared/_locale.html.erb
sunrise-core-0.1.5 app/views/manage/shared/_locale.html.erb
sunrise-core-0.1.4 app/views/manage/shared/_locale.html.erb