view .svn/pristine/3e/3e69b6e2154a117c66e42d50dd35e274a3a35611.svn-base @ 1192:3c9ca27c2d3d feature_564

Add approximate back-of-envelope calculation of project maturity
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 22 Jan 2013 16:51:56 +0000
parents cbb26bc654de
children
line wrap: on
line source
<h2><%=l(:label_confirmation)%></h2>
<div class="warning">
<p><strong><%=h @project_to_destroy %></strong><br />
<%=l(:text_project_destroy_confirmation)%>

<% if @project_to_destroy.descendants.any? %>
<br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %>
<% end %>
</p>
<p>
    <% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
    <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
    <%= submit_tag l(:button_delete) %>
    <% end %>
</p>
</div>