parent
1acc369774
commit
29bd105072
10 changed files with 115 additions and 15 deletions
11
views/users_close.erb
Normal file
11
views/users_close.erb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<h1 class="mb-5"><%= _("Closing account %{email}") % { email: @user.email } %></h1>
|
||||
|
||||
<p><%= _("Do you really want to close the account for %{email}?") % { email: @user.email } %></p>
|
||||
|
||||
<p><%= _("Past votes and ratings created by this account will remain available, but the account will no longer be able to log in, create new votes, or participate in open votes.") %></p>
|
||||
|
||||
<p><%= _("This action cannot be undone.") %></p>
|
||||
|
||||
<form action="/users/<%= @user.id %>/close" method="post" class="mb-5">
|
||||
<button type="submit" class="btn btn-danger"><%= _("Close account") %></button>
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue