Sha256: 63234c0e022ba7c9cd12ecf0052fd6fa110c75c167b9941db30186e443d398af
Contents?: true
Size: 1.83 KB
Versions: 14
Compression:
Stored size: 1.83 KB
Contents
<div class="row column"> <div class="process-nav consultations-nav"> <button class="process-nav__trigger hide-for-medium" data-toggle="process-nav-content"> <%= icon "caret-bottom", class: "icon--small process-nav__trigger__icon", aria_label: t(".unfold"), role: "img" %> <div class="process-nav__link"> <% if self.try(:current_component) %> <%= component_icon(current_component) %> <%= translated_attribute(current_component.name) %> <% else %> <%= external_icon "decidim/pages/icon.svg" %> <%= t ".question_menu_item" %> <% end %> </div> </button> <div class="row column process-nav__content is-active" id="process-nav-content" data-toggler=".is-active"> <ul> <li class="<%= "is-active" if is_active_link?(decidim_consultations.question_path(question), :exclusive) %>"> <%= active_link_to decidim_consultations.question_path(question), active: :exclusive, class: "process-nav__link", class_active: "is-active" do %> <%= external_icon "decidim/pages/icon.svg" %> <%= t ".question_menu_item" %> <% end %> </li> <% question.components.each do |component| %> <% if component.published? || component == self.try(:current_component) %> <li class="<%= "is-active" if is_active_link?(main_component_path(component), :inclusive) %>"> <%= active_link_to main_component_path(component), class: "process-nav__link", active: :inclusive, class_active: "is-active" do %> <%= component_icon(component) %> <%= translated_attribute(component.name) %> <% end %> </li> <% end %> <% end %> </ul> </div> </div> </div>
Version data entries
14 entries across 14 versions & 1 rubygems