Sha256: b7c9bd5764403bd07fa14a7c8a7aba4e7986086690af27b6548bfe3b3a0ca31b

Contents?: true

Size: 953 Bytes

Versions: 52

Compression:

Stored size: 953 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_article_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_article_path(model, locale), class: klass %>
        </li>
      <% end %>

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

Version data entries

52 entries across 52 versions & 1 rubygems

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