Sha256: fd1853365f2da38cc8c125c60bddeb24a34986eac16efea9e544800e4d4022c5

Contents?: true

Size: 967 Bytes

Versions: 7

Compression:

Stored size: 967 Bytes

Contents

<div class="form-general-submit answer-questionnaire__submit">
  <% if !first_step? %>
    <button type="button" class="button button__sm button__text-secondary" data-toggle="<%= [previous_step_dom_id, current_step_dom_id].join(" ") %>">
      <%= icon "arrow-left-line", class: "fill-current" %>
      <%= t("decidim.forms.step_navigation.show.back") %>
    </button>
  <% end %>

  <% if last_step? %>
    <%= form.submit(
      "#{t("decidim.forms.step_navigation.show.submit")}#{icon "mail-send-line", class: "fill-current"}".html_safe,
      class: "button button__sm button__secondary",
      disabled: button_disabled?,
      **confirm_data
    ) %>
  <% else %>
    <button type="button" class="button button__sm button__secondary" data-toggle="<%= [next_step_dom_id, current_step_dom_id].join(" ") %>">
      <%= t("decidim.forms.step_navigation.show.continue") %>
      <%= icon "arrow-right-line", class: "fill-current" %>
    </button>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-forms-0.28.4 app/cells/decidim/forms/step_navigation/show.erb
decidim-forms-0.28.3 app/cells/decidim/forms/step_navigation/show.erb
decidim-forms-0.28.2 app/cells/decidim/forms/step_navigation/show.erb
decidim-forms-0.28.1 app/cells/decidim/forms/step_navigation/show.erb
decidim-forms-0.28.0 app/cells/decidim/forms/step_navigation/show.erb
decidim-forms-0.28.0.rc5 app/cells/decidim/forms/step_navigation/show.erb
decidim-forms-0.28.0.rc4 app/cells/decidim/forms/step_navigation/show.erb