Sha256: a8f06e89900d6ab42bf481fe018a4cdab77c3975510c3890afe9393af62cb8af

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

<button class="clear button secondary button--nomargin small" type="button" data-open="tos-refuse-modal">
  <%= t("refuse.modal_button", scope: "decidim.pages.terms_and_conditions") %>
</button>

<div id="tos-refuse-modal" class="reveal" data-reveal aria-labelledby="#{modal_title}" aria-hidden="true" role="dialog">
  <h2>
    <%= t("refuse.modal_title", scope: "decidim.pages.terms_and_conditions") %>
  </h2>

  <p>
    <%= t("refuse.modal_body", scope: "decidim.pages.terms_and_conditions", data_portability_path: "#", delete_path: decidim.delete_account_path) %>
  </p>

  <div class="row column flex-center">
    <%= button_to decidim.destroy_user_session_path, method: :delete, class: "clear button secondary button--nomargin small" do %>
      <%= t("refuse.modal_btn_exit", scope: "decidim.pages.terms_and_conditions") %>
    <% end %>

    <%= button_to decidim.accept_tos_path, method: :put, class: "button button--nomargin small" do %>
      <%= t("refuse.modal_btn_continue", scope: "decidim.pages.terms_and_conditions") %>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-core-0.12.2 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.12.1 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.12.0 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.12.0.pre app/cells/decidim/tos_page/refuse_btn_modal.erb