diff --git a/app/views/projects/destroy.html.erb b/app/views/projects/destroy.html.erb index 49d5babf7..f99e5581c 100644 --- a/app/views/projects/destroy.html.erb +++ b/app/views/projects/destroy.html.erb @@ -1,17 +1,19 @@ -

<%=l(:label_confirmation)%>

+
+

<%=l(:label_confirmation)%>

+
-

<%=h @project_to_destroy %>
-<%=l(:text_project_destroy_confirmation)%> +

<%=h @project_to_destroy %>

+ <%=l(:text_project_destroy_confirmation)%> -<% if @project_to_destroy.descendants.any? %> -
<%= l(:text_subprojects_destroy_warning, - content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %> -<% end %> -

-

+ <% if @project_to_destroy.descendants.any? %> +
<%= l(:text_subprojects_destroy_warning, + content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %> + <% end %> +

+

<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> - - <%= submit_tag l(:button_delete) %> + + <%= submit_tag l(:button_delete) %> <% end %> -

+