mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-25 18:01:14 +00:00
includes a confirmation page that also gives the opportunity to lock users instead of deleting them. Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21824 e93f8b46-1217-0410-a6f0-8f06a7374b81
23 lines
629 B
Plaintext
23 lines
629 B
Plaintext
<%= title l(:label_confirmation) %>
|
|
|
|
<%= form_tag(bulk_destroy_users_path(ids: @users.map(&:id)), method: :delete) do %>
|
|
<div class="warning">
|
|
|
|
<p><%= simple_format l :text_users_bulk_destroy_head %></p>
|
|
|
|
<% @users.each do |user| %>
|
|
<p><strong><%= user.name %></strong> (<%= user.login %>)</p>
|
|
<% end %>
|
|
|
|
<p><%= l :text_users_bulk_destroy_confirm, yes: l(:general_text_Yes) %></p>
|
|
<p><%= text_field_tag 'confirm' %></p>
|
|
|
|
</div>
|
|
|
|
<p>
|
|
<%= submit_tag l(:button_delete), class: 'btn-alert btn-small' %>
|
|
<%= submit_tag l(:button_lock), class: 'btn', name: 'lock' %>
|
|
<%= link_to l(:button_cancel), users_path %>
|
|
</p>
|
|
<% end %>
|