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
This commit is contained in:
Jean-Philippe Lang 2013-03-19 21:19:46 +00:00
parent 067aebab76
commit 064bb49b55
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
<%= submit_tag l(:button_delete) %> <%= submit_tag l(:button_delete) %>
<%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
<% end %> <% end %>
</p> </p>
</div> </div>