Sha256: 3f5e6475ee41a1ae08316b833a0d7760492f337d32886db4b7ac9042596517ab

Contents?: true

Size: 1.19 KB

Versions: 13

Compression:

Stored size: 1.19 KB

Contents

<button class="button button__sm button__transparent-secondary" data-dialog-open="tos-refuse-modal">
  <%= t("refuse.modal_button", scope: "decidim.pages.terms_of_service") %>
</button>

<%= decidim_modal id: "tos-refuse-modal", class: "tos-refuse" do %>
  <div data-dialog-container>
    <%= icon "file-list-3-line" %>
    <h3 id="dialog-title-tos-refuse-modal" data-dialog-title>
      <%= t("refuse.modal_title", scope: "decidim.pages.terms_of_service") %>
    </h3>
    <p id="dialog-desc-tos-refuse-modal">
      <%= t("refuse.modal_body", scope: "decidim.pages.terms_of_service", download_your_data_path: decidim.download_your_data_path, delete_path: decidim.delete_account_path) %>
    </p>
  </div>
  <div data-dialog-actions>
    <%= button_to decidim.destroy_user_session_path, method: :delete, class: "button button__sm md:button__lg button__transparent-secondary" do %>
      <%= t("refuse.modal_btn_exit", scope: "decidim.pages.terms_of_service") %>
    <% end %>

    <%= button_to decidim.accept_tos_path, method: :put, class: "button button__sm md:button__lg button__secondary" do %>
      <%= t("refuse.modal_btn_continue", scope: "decidim.pages.terms_of_service") %>
    <% end %>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.4 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.29.0 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.3 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.29.0.rc4 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.29.0.rc3 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.29.0.rc2 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.29.0.rc1 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.2 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.1 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.0 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.0.rc5 app/cells/decidim/tos_page/refuse_btn_modal.erb
decidim-core-0.28.0.rc4 app/cells/decidim/tos_page/refuse_btn_modal.erb