You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

destroy.html.erb 587B

12345678910111213141516
  1. <h2><%=l(:label_confirmation)%></h2>
  2. <div class="warning">
  3. <p><strong><%=h @project_to_destroy %></strong><br />
  4. <%=l(:text_project_destroy_confirmation)%>
  5. <% if @project_to_destroy.descendants.any? %>
  6. <br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %>
  7. <% end %>
  8. </p>
  9. <p>
  10. <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
  11. <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
  12. <%= submit_tag l(:button_delete) %>
  13. <% end %>
  14. </p>
  15. </div>