To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / projects / destroy.rhtml @ 829:7a613c0eefe2
History | View | Annotate | Download (586 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, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %> |
| 8 |
<% end %>
|
| 9 |
</p>
|
| 10 |
<p>
|
| 11 |
<% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
|
| 12 |
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> |
| 13 |
<%= submit_tag l(:button_delete) %>
|
| 14 |
<% end %>
|
| 15 |
</p>
|
| 16 |
</div>
|