Sha256: 3bd122b554134c31c211fa575a9f06c964db276b4b11773284142fc24ca4c076

Contents?: true

Size: 941 Bytes

Versions: 34

Compression:

Stored size: 941 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.app.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 %>

      <% if Udongo.config.pages.images? %>
        <li class="nav-item">
          <% klass = %w(nav-link) %>
          <% klass << 'active' if active == :images %>
          <%= link_to icon(:image, t('b.images')), backend_page_images_path(model), class: klass %>
        </li>
      <% end %>
    </ul>
  </div>
</div>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
udongo-7.9.0 app/views/backend/pages/_tabs.html.erb
udongo-7.8.1 app/views/backend/pages/_tabs.html.erb
udongo-7.8.0 app/views/backend/pages/_tabs.html.erb
udongo-7.7.2 app/views/backend/pages/_tabs.html.erb
udongo-7.7.1 app/views/backend/pages/_tabs.html.erb
udongo-7.7.0 app/views/backend/pages/_tabs.html.erb
udongo-7.6.2 app/views/backend/pages/_tabs.html.erb
udongo-7.6.1 app/views/backend/pages/_tabs.html.erb
udongo-7.6.0 app/views/backend/pages/_tabs.html.erb
udongo-7.5.1 app/views/backend/pages/_tabs.html.erb
udongo-7.5.0 app/views/backend/pages/_tabs.html.erb
udongo-7.4.2 app/views/backend/pages/_tabs.html.erb
udongo-7.4.1 app/views/backend/pages/_tabs.html.erb
udongo-7.4.0 app/views/backend/pages/_tabs.html.erb
udongo-7.3.5 app/views/backend/pages/_tabs.html.erb
udongo-7.3.4 app/views/backend/pages/_tabs.html.erb
udongo-7.3.3 app/views/backend/pages/_tabs.html.erb
udongo-7.3.2 app/views/backend/pages/_tabs.html.erb
udongo-7.3.1 app/views/backend/pages/_tabs.html.erb
udongo-7.2.1 app/views/backend/pages/_tabs.html.erb