To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / projects / destroy.html.erb @ 1268:2818bf60c84c

History | View | Annotate | Download (607 Bytes)

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

    
6
<% if @project_to_destroy.descendants.any? %>
7
<br /><%= l(:text_subprojects_destroy_warning,
8
          content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
9
<% end %>
10
</p>
11
<p>
12
    <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
13
    <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
14
    <%= submit_tag l(:button_delete) %>
15
    <% end %>
16
</p>
17
</div>