destroy.html.erb
19 lines
| 688 B
| text/plain
|
TextLexer
|
r11820 | <%= title l(:label_confirmation) %> | ||
|
r1344 | <div class="warning"> | ||
<p><strong><%=h @project_to_destroy %></strong><br /> | ||||
<%=l(:text_project_destroy_confirmation)%> | ||||
|
r330 | |||
|
r2302 | <% if @project_to_destroy.descendants.any? %> | ||
|
r9900 | <br /><%= l(:text_subprojects_destroy_warning, | ||
|
r13661 | content_tag('strong', @project_to_destroy.descendants.collect{|p| p.to_s}.join(', '))).html_safe %> | ||
|
r1344 | <% end %> | ||
</p> | ||||
|
r330 | <p> | ||
|
r9346 | <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %> | ||
|
r1344 | <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> | ||
|
r330 | <%= submit_tag l(:button_delete) %> | ||
|
r11432 | <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %> | ||
|
r330 | <% end %> | ||
</p> | ||||
|
r1344 | </div> | ||