Reword Copy within "Delete" Modal in Admin Member Detail View (#16755)
* Replaces for with of in _delete.html.erb modal copy * Removes strong tags around text for conistency in modal * Adjusts copy within _delete.html.erb
This commit is contained in:
parent
33488ba88e
commit
7b944c8327
1 changed files with 2 additions and 2 deletions
|
|
@ -2,13 +2,13 @@
|
|||
<% if current_user.super_admin? %>
|
||||
<%= form_for(@user, url: full_delete_admin_user_path(@user), html: { class: "flex flex-col gap-4", method: :post, onsubmit: "return confirm('Are you sure? This action is irreversible.')", id: nil }) do |f| %>
|
||||
<p>This action is irreversible.</p>
|
||||
<p>Once deleted, all data for <%= @user.name %> will be removed from our database.</p>
|
||||
<p>Once deleted, all data relating to <%= @user.name %> will be removed from our database.</p>
|
||||
<p>Be careful with this action.</p>
|
||||
<div>
|
||||
<button class="c-btn c-btn--primary c-btn--destructive">Delete now</button>
|
||||
</div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<div class="crayons-notice crayons-notice--danger">Only <strong>Super Admins</strong> are allowed to delete users.</div>
|
||||
<div class="crayons-notice crayons-notice--danger">Only Super Admins are allowed to delete users.</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue