blob: 23d33becfdabdad002987a2cc884402074112f5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<%= title l(:label_confirmation) %>
<%= form_tag user_path(@user), method: :delete do %>
<div class="warning">
<p><strong><%= @user.name %> (<%= @user.login %>)</strong></p>
<p><%= l :text_user_destroy_confirmation, login: @user.login %></p>
<p>
<label for="confirm"><%= l :field_login %></label>
<%= text_field_tag 'confirm' %>
</p>
</div>
<%= submit_tag l(:button_delete) %>
<% end %>
<%= button_to l(:button_lock), bulk_lock_users_path(ids: [@user.id]), method: :post, class: 'btn', name: 'lock' unless @user.locked? %>
<%= link_to l(:button_cancel), users_path %>
|