1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 17:31:14 +00:00
redmine/app/views/users/destroy.html.erb
Marius Balteanu 193ca9faee Add bulk lock feature to user list context menu (#40913).
Patch by Mizuki ISHIKAWA (@ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-25 19:03:36 +00:00

18 lines
587 B
Plaintext

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