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