% page_title "Deactivate Account" %>
You can deactivate your <%= Danbooru.config.app_name %> account using the form below. Deactivating your account will do the following things:
The following things will not be deleted:
Enter your password below to deactivate your account. This cannot be undone. Your account cannot be recovered after it is deactivated.
<%= edit_form_for(:user, url: maintenance_user_deletion_path, method: :delete) do |f| %> <%= f.input :password %> <%= f.submit "Deactivate account", "data-confirm": "Are you sure you want to deactivate your account? This cannot be undone" %> <% end %>