Mercurial > hg > soundsoftware-site
view app/views/projects/destroy.html.erb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 433d4f72a19b |
children | 261b3d9a4903 |
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(', ')))).html_safe %> <% 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>