summaryrefslogtreecommitdiffstats
path: root/app/views/users/edit.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-07 14:36:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-07 14:36:49 +0000
commit7b40767428ac5c04ba80d95c7c90b049c73c7f36 (patch)
tree641733a4a56afead53aba5da5faba801d84c2c13 /app/views/users/edit.html.erb
parent56666a41b82d98a773d93dd8fa903a4d702b07ec (diff)
downloadredmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.tar.gz
redmine-7b40767428ac5c04ba80d95c7c90b049c73c7f36.zip
Deprecated :confirm => 'Text' option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users/edit.html.erb')
-rw-r--r--app/views/users/edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb
index b56f12c27..fa4f38a64 100644
--- a/app/views/users/edit.html.erb
+++ b/app/views/users/edit.html.erb
@@ -1,7 +1,7 @@
<div class="contextual">
<%= link_to l(:label_profile), user_path(@user), :class => 'icon icon-user' %>
<%= change_status_link(@user) %>
-<%= link_to(l(:button_delete), @user, :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') if User.current != @user %>
+<%= delete_link user_path(@user) if User.current != @user %>
</div>
<h2><%= link_to l(:label_user_plural), users_path %> &#187; <%=h @user.login %></h2>