Sha256: cb175cab23dc6f00e983bdd585c1c63d25744730dcc79c07ffa98219eacac481

Contents?: true

Size: 643 Bytes

Versions: 5

Compression:

Stored size: 643 Bytes

Contents

<div class="row subnav">
  <div class="col-md-12">
    <ul class="nav nav-pills">
      <li class="nav-item">
        <% klass = %w(nav-link) %>
        <% klass << 'active' if active == :general %>

        <%= link_to t('b.general'), edit_backend_page_path(@model), class: klass %>
      </li>

      <% Udongo.config.i18n.locales.each do |locale| %>
        <li class="nav-item">
          <% klass = %w(nav-link) %>
          <% klass << 'active' if active == locale.to_sym %>

          <%= link_to locale.upcase, edit_translation_backend_page_path(@model, locale), class: klass %>
        </li>
      <% end %>
    </ul>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
udongo-2.0.4 app/views/backend/pages/_tabs.html.erb
udongo-2.0.3 app/views/backend/pages/_tabs.html.erb
udongo-2.0.2 app/views/backend/pages/_tabs.html.erb
udongo-2.0.1 app/views/backend/pages/_tabs.html.erb
udongo-2.0.0 app/views/backend/pages/_tabs.html.erb