summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-03-19 21:19:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-03-19 21:19:46 +0000
commit064bb49b55981ac107e22b3346404837f0f40bd8 (patch)
tree7f6a1e7289d5fd8e494d536f61a7e94124db4448 /app/views
parent067aebab766e6275fb3c2df3460fef787bd4ba8e (diff)
downloadredmine-064bb49b55981ac107e22b3346404837f0f40bd8.tar.gz
redmine-064bb49b55981ac107e22b3346404837f0f40bd8.zip
Add a "Cancel" button to the "Delete" project page when deleting a project (#2795).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11662 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/destroy.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/destroy.html.erb b/app/views/projects/destroy.html.erb
index 6bed5212a..d5762e08d 100644
--- a/app/views/projects/destroy.html.erb
+++ b/app/views/projects/destroy.html.erb
@@ -12,6 +12,7 @@
<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
<%= submit_tag l(:button_delete) %>
+ <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
<% end %>
</p>
</div>