Sha256: 2ab30f3e399303551d2b1a063e2f2ee32bacc0d994b4603b0d50c470ed451c17

Contents?: true

Size: 1.3 KB

Versions: 17

Compression:

Stored size: 1.3 KB

Contents

<%= render layout: "layouts/decidim/shared/layout_user_profile" do %>
  <% add_decidim_page_title(t("delete_my_account", scope: "layouts.decidim.user_profile")) %>
  <% content_for(:subtitle) { t("delete_my_account", scope: "layouts.decidim.user_profile") } %>

  <%= cell("decidim/announcement", t("alert", scope:"decidim.account.delete"), callout_class: "alert") %>
  <% if has_authorizations? %>
    <%= cell("decidim/announcement", t("leaving_authorizations_behind", scope:"decidim.account.delete"), callout_class: "alert") %>
  <% end %>

  <p class="help-text">
    <%= t("explanation", scope:"decidim.account.delete") %>
  </p>
  <%= decidim_form_for(@form, url: account_path, method: :delete, namespace: "delete_user", html: { class: "form-defaults delete-account" }) do |f| %>
    <div class="form__wrapper">
      <label>
        <%= f.text_area :delete_reason, rows: 2, label: false, help_text: t("activemodel.attributes.account.delete_reason") %>
      </label>
    </div>
    <div class="form__wrapper-block">
      <button type="button" data-dialog-open="delete-account" class="button button__sm md:button__lg button__secondary mr-auto !ml-0 open-modal-button">
        <%= t("title", scope:"decidim.account.delete.confirm") %>
      </button>
    </div>
  <% end %>
  <%= render partial: "delete_modal" %>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
decidim-core-0.30.0.rc2 app/views/decidim/account/delete.html.erb
decidim-core-0.30.0.rc1 app/views/decidim/account/delete.html.erb
decidim-core-0.29.2 app/views/decidim/account/delete.html.erb
decidim-core-0.28.5 app/views/decidim/account/delete.html.erb
decidim-core-0.29.1 app/views/decidim/account/delete.html.erb
decidim-core-0.28.4 app/views/decidim/account/delete.html.erb
decidim-core-0.29.0 app/views/decidim/account/delete.html.erb
decidim-core-0.28.3 app/views/decidim/account/delete.html.erb
decidim-core-0.29.0.rc4 app/views/decidim/account/delete.html.erb
decidim-core-0.29.0.rc3 app/views/decidim/account/delete.html.erb
decidim-core-0.29.0.rc2 app/views/decidim/account/delete.html.erb
decidim-core-0.29.0.rc1 app/views/decidim/account/delete.html.erb
decidim-core-0.28.2 app/views/decidim/account/delete.html.erb
decidim-core-0.28.1 app/views/decidim/account/delete.html.erb
decidim-core-0.28.0 app/views/decidim/account/delete.html.erb
decidim-core-0.28.0.rc5 app/views/decidim/account/delete.html.erb
decidim-core-0.28.0.rc4 app/views/decidim/account/delete.html.erb