Sha256: 8055dd65681c77598e883292c04a9a82e13974c61aa5025439759a1fb5120840

Contents?: true

Size: 1.37 KB

Versions: 37

Compression:

Stored size: 1.37 KB

Contents

<% if @step == :step_4 %>
    <% body_messages = [t("decidim.proposals.proposals.preview.announcement_body")]
    if component_settings.proposal_edit_time == "limited"
      body_messages << t("decidim.proposals.proposals.preview.proposal_edit_before_minutes", count: component_settings.proposal_edit_before_minutes)
    end %>

  <%= cell(
    "decidim/announcement",
    {
      title: t("decidim.proposals.proposals.preview.announcement_title"),
      body: body_messages
    },
    callout_class: "warning"
  ) %>
<% else %>
  <%= cell("decidim/announcement", component_settings.new_proposal_help_text) %>
<% end %>

<% if proposal_wizard_step_help_text?(@step) %>
  <div class="proposal_wizard_help_text">
    <% callout_step_help_text_class ||= nil %>
    <%= cell(
      "decidim/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">
  <div><%= proposal_wizard_steps_title %></div>
  <div><%= proposal_wizard_current_step_of(@step) %></div>

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

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-proposals-0.27.9 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.8 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.7 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.6 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.10 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.9 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.5 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.8 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.4 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.3 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.7 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.5 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.2 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.4 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.0 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.3 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.0.rc2 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.27.0.rc1 app/views/decidim/proposals/proposals/_wizard_header.html.erb
decidim-proposals-0.26.2 app/views/decidim/proposals/proposals/_wizard_header.html.erb