summaryrefslogtreecommitdiffstats
path: root/app/views/projects/destroy.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/destroy.rhtml')
-rw-r--r--app/views/projects/destroy.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/destroy.rhtml b/app/views/projects/destroy.rhtml
index cb159216d..8ef23197d 100644
--- a/app/views/projects/destroy.rhtml
+++ b/app/views/projects/destroy.rhtml
@@ -1,11 +1,11 @@
<h2><%=l(:label_confirmation)%></h2>
<div class="box">
<center>
-<p><strong><%= @project.name %></strong><br />
+<p><strong><%= @project_to_destroy.name %></strong><br />
<%=l(:text_project_destroy_confirmation)%></p>
<p>
- <% form_tag({:controller => 'projects', :action => 'destroy', :id => @project}) do %>
+ <% form_tag({:controller => 'projects', :action => 'destroy', :id => @project_to_destroy}) do %>
<%= hidden_field_tag "confirm", 1 %>
<%= submit_tag l(:button_delete) %>
<% end %>