Sha256: 2cffbaf1d8af8693ea7b573286e72414f928d2c5163b747c4ca039caa3cb1a79
Contents?: true
Size: 1.22 KB
Versions: 17
Compression:
Stored size: 1.22 KB
Contents
<% if participatory_process.steps.any? %> <div class="columns mediumlarge-3"> <div class="process-header__phase process-header__phase--simple"> <div class="process-header__progress show-for-medium"> <ol> <% past_step = true %> <% participatory_process.steps.each_with_index do |step, index| %> <% if past_step %> <li class="phase-item--past"><span></span></li> <% else %> <li><span></span></li> <% end %> <% past_step = false if step.active? %> <% end %> </ol> <span class="phase-current"><%= t(".step", current: (participatory_process.active_step.position + 1), total: current_participatory_process.steps.count) %></span> </div> <div> <span class="phase-title"><%= translated_attribute participatory_process.active_step.title %></span> <span class="phase-date"> <%= participatory_process_step_dates participatory_process.active_step %> </span> </div> <%= link_to t('.view_steps'), decidim.participatory_process_participatory_process_steps_path(current_participatory_process), class: "button tiny hollow show-for-medium" %> </div> </div> <% end %>
Version data entries
17 entries across 17 versions & 2 rubygems