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