Sha256: a7cdbfb91aaf628796eb21dc32385752dce61c72a2687f1a08a8e2f4fb296460

Contents?: true

Size: 490 Bytes

Versions: 3

Compression:

Stored size: 490 Bytes

Contents

.tabbable.locale_tabs
  ul.nav.nav-tabs
    - active_locale = params[:edit_locale].present? ? params[:edit_locale].to_sym : locales.first
    - locales.each_with_index do |l, i|
      li class=('active' if l == active_locale)
        a data-toggle="tab" href="##{l}" class="ico_#{l}" title=l = locale_flag(l)
        = tab_nav.call(l) if tab_nav
  .tab-content
    - locales.each_with_index do |l, i|
      .tab-pane id=l class="tab_#{l} #{'active' if l == active_locale}" = locale_html[l]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ab_admin-0.11.0 app/views/admin/shared/_locale_tabs.html.slim
ab_admin-0.10.0 app/views/admin/shared/_locale_tabs.html.slim
ab_admin-0.9.0 app/views/admin/shared/_locale_tabs.html.slim