From e563354c8517c40593ee7cda743be170ec395bd3 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 8 Oct 2015 11:13:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/destroy.html.erb | 34 +++++++++++++++-------------- 1 file changed, 18 insertions(+), 16 deletions(-) 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)%>

-
-

<%=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 %> -

-

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

+
+

<%=l(:label_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 %> +

+

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