Sha256: a02ffccdc5e4072c11f5202efd3b7f4b3d1f6c8c996a7fe01e856a0ec6470940

Contents?: true

Size: 1.25 KB

Versions: 29

Compression:

Stored size: 1.25 KB

Contents

<% if translated_attribute(component_settings.new_proposal_help_text).present? && @step != :step_4 %>
  <%= render partial: "decidim/shared/announcement", locals: { announcement: component_settings.new_proposal_help_text } %>
<% elsif @step == :step_4 %>
  <%
    locals = {
      callout_class: "warning",
      announcement: t("decidim.proposals.proposals.preview.proposal_edit_before_minutes", count: component_settings.proposal_edit_before_minutes)
    }
  %>
  <%= render partial: "decidim/shared/announcement", locals: locals %>
<% end %>

<% if proposal_wizard_step_help_text?(@step) %>
  <div class="proposal_wizard_help_text">
    <% callout_step_help_text_class ||= nil %>
    <%= render partial: "decidim/shared/announcement", locals: { announcement: component_settings.try("proposal_wizard_#{@step}_help_text"), callout_class: callout_step_help_text_class } %>
  </div>
<% end %>

<h2 class="section-heading">
  <%= proposal_wizard_step_title action_name %>
  <%= "(#{@similar_proposals.count})" if @similar_proposals.present? %>
</h2>

<div class="hide-for-large m-bottom">
  <%= proposal_wizard_current_step_of(@step) %>

  <ol id="steps" class="wizard__steps steps-toggle is-hidden" data-toggler=".is-hidden">
    <%= proposal_wizard_stepper(@step) %>
  </ol>
</div>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
decidim-proposals-0.21.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.20.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.20.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.19.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.18.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.19.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.17.2 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.18.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.17.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.16.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.17.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.16.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.15.2 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.15.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.15.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.14.4 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.14.3 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.14.2 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.14.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.13.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb