Chris@1296:
<%=h @project_to_destroy %>
Chris@1296: <%=l(:text_project_destroy_confirmation)%>
Chris@1296:
Chris@1296: <% if @project_to_destroy.descendants.any? %>
Chris@1296:
<%= l(:text_subprojects_destroy_warning,
Chris@1296: content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
Chris@1296: <% end %>
Chris@1296:
Chris@1296: <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> Chris@1296: Chris@1296: <%= submit_tag l(:button_delete) %> Chris@1296: <% end %> Chris@1296:
Chris@1296: