annotate app/views/projects/destroy.html.erb @ 1296:038ba2d95de8
redmine-2.2
Fix redmine-2.2 branch update (add missing svn files)
author |
Chris Cannam |
date |
Fri, 14 Jun 2013 09:05:06 +0100 |
parents |
433d4f72a19b |
children |
261b3d9a4903 |
rev |
line source |
Chris@0
|
1 <h2><%=l(:label_confirmation)%></h2>
|
Chris@0
|
2 <div class="warning">
|
Chris@0
|
3 <p><strong><%=h @project_to_destroy %></strong><br />
|
Chris@0
|
4 <%=l(:text_project_destroy_confirmation)%>
|
Chris@0
|
5
|
Chris@0
|
6 <% if @project_to_destroy.descendants.any? %>
|
Chris@1115
|
7 <br /><%= l(:text_subprojects_destroy_warning,
|
Chris@1115
|
8 content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
|
Chris@0
|
9 <% end %>
|
Chris@0
|
10 </p>
|
Chris@0
|
11 <p>
|
Chris@1115
|
12 <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
|
Chris@0
|
13 <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
|
Chris@0
|
14 <%= submit_tag l(:button_delete) %>
|
Chris@0
|
15 <% end %>
|
Chris@0
|
16 </p>
|
Chris@0
|
17 </div>
|