Sha256: 85b987acfd7f42e5faec7501102ea04cc279e67824a89bc54fcc9495b0d948a6
Contents?: true
Size: 695 Bytes
Versions: 61
Compression:
Stored size: 695 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_navigation_item_path(@navigation, @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_navigation_item_path(@navigation, @model, locale), class: klass %> </li> <% end %> </ul> </div> </div>
Version data entries
61 entries across 61 versions & 1 rubygems