Sha256: e550be23cb940c2361d4832b6b7d864f212963e6ebc19f419fd0baeb0acea7b9
Contents?: true
Size: 655 Bytes
Versions: 20
Compression:
Stored size: 655 Bytes
Contents
<div class="row column consultations-nav"> <% 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>
Version data entries
20 entries across 20 versions & 1 rubygems