@@ -1,19 +1,24 | |||
|
1 | 1 | <%= title l(:label_confirmation) %> |
|
2 | 2 | |
|
3 | <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> | |
|
3 | 4 | <div class="warning"> |
|
4 |
<p><strong><%=h @project_to_destroy %></strong>< |
|
|
5 | <%=l(:text_project_destroy_confirmation)%> | |
|
5 | <p><strong><%=h @project_to_destroy %></strong></p> | |
|
6 | 6 | |
|
7 | <p> | |
|
8 | <%=l(:text_project_destroy_confirmation)%> | |
|
7 | 9 | <% if @project_to_destroy.descendants.any? %> |
|
8 | <br /><%= l(:text_subprojects_destroy_warning, | |
|
10 | <br /> | |
|
11 | <%= l(:text_subprojects_destroy_warning, | |
|
9 | 12 | content_tag('strong', @project_to_destroy.descendants.collect{|p| p.to_s}.join(', '))).html_safe %> |
|
10 | 13 | <% end %> |
|
11 | 14 | </p> |
|
12 | 15 | <p> |
|
13 | <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> | |
|
14 | <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> | |
|
15 | <%= submit_tag l(:button_delete) %> | |
|
16 | <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %> | |
|
17 | <% end %> | |
|
16 | <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> | |
|
18 | 17 | </p> |
|
19 | 18 | </div> |
|
19 | ||
|
20 | <p> | |
|
21 | <%= submit_tag l(:button_delete) %> | |
|
22 | <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %> | |
|
23 | </p> | |
|
24 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now