Sha256: 1a2b4bcdeb5025a35dc37d2e5788a57530e7da7b983bd53d7f4b24b37c272689

Contents?: true

Size: 636 Bytes

Versions: 6

Compression:

Stored size: 636 Bytes

Contents

<div class="flex justify-center">
  <h1 class="title-decorator my-12">
    <%= wizard_header_title %>
  </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.merge(class: "w-1/2") %>
  <% 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

6 entries across 6 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.29.0 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.29.0.rc4 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.29.0.rc3 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.29.0.rc2 app/views/decidim/amendments/_wizard_header.html.erb
decidim-core-0.29.0.rc1 app/views/decidim/amendments/_wizard_header.html.erb