Sha256: dcd9454e7a9ddd8d2a1c3990991d798d9aa41dbef894b6b66b731d9855426ef9
Contents?: true
Size: 1.31 KB
Versions: 9
Compression:
Stored size: 1.31 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"> <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
9 entries across 9 versions & 1 rubygems