Sha256: dab2eeb59aa4d3ef73c032368aacac6fc5bf7d1ad4040cc64b30fd9908d62982
Contents?: true
Size: 1.27 KB
Versions: 12
Compression:
Stored size: 1.27 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> <% components = question.components.published.or(Decidim::Component.where(id: self.try(:current_component))) %> <%= extended_navigation_bar([ { name: t(".question_menu_item"), url: decidim_consultations.question_path(question), active: is_active_link?(decidim_consultations.question_path(question), :exclusive) } ] + components.map do |component| { name: translated_attribute(component.name), url: main_component_path(component), active: is_active_link?(main_component_path(component), :inclusive) } end) %> </div> </div>
Version data entries
12 entries across 12 versions & 1 rubygems