<%= title l(:label_confirmation) %> <%= form_tag user_path(@user), method: :delete do %>

<%= @user.name %> (<%= @user.login %>)

<%= l :text_user_destroy_confirmation, login: @user.login %>

<%= text_field_tag 'confirm' %>

<%= 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 %>