Sha256: b6734b7762d2b0c5d58bd7000cec85d9da82b4748a05ba339dd063f7234b0f6c

Contents?: true

Size: 699 Bytes

Versions: 8

Compression:

Stored size: 699 Bytes

Contents

<div class="flex justify-center">
  <h1 class="title-decorator my-12">
    <%= wizard_header_title %>
    <%= "(#{similar_resources_count})" if local_assigns[:similar_resources_count] %>
  </h1>
</div>

<ol id="wizard-steps" class="wizard-steps">
  <% (1..total_steps).each do |wizard_step| %>
    <% attributes = @current_step == wizard_step ? { "aria-current": "step" } : {} %>
    <%= content_tag :li, t(wizard_step, scope: "decidim.amendments.wizard_step_form.steps"), attributes %>
  <% end %>
</ol>

<% if translated_attribute_value = translated_attribute(amendable.component.settings.amendments_wizard_help_text) %>
  <%= cell("decidim/announcement", translated_attribute_value) %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
decidim-core-0.28.5 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.4 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.3 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.2 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.1 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.0 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.0.rc5 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.28.0.rc4 app/views/decidim/amendments/_wizard_header.html.erb