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.html.erb @ 1592:72d9219f2f19
History | View | Annotate | Download (691 Bytes)
| 1 | 1464:261b3d9a4903 | Chris | <%= title l(:label_confirmation) %>
|
|---|---|---|---|
| 2 | |||
| 3 | 0:513646585e45 | Chris | <div class="warning"> |
| 4 | <p><strong><%=h @project_to_destroy %></strong><br /> |
||
| 5 | <%=l(:text_project_destroy_confirmation)%>
|
||
| 6 | |||
| 7 | <% if @project_to_destroy.descendants.any? %>
|
||
| 8 | 1115:433d4f72a19b | Chris | <br /><%= l(:text_subprojects_destroy_warning, |
| 9 | content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
|
||
| 10 | 0:513646585e45 | Chris | <% end %>
|
| 11 | </p>
|
||
| 12 | <p>
|
||
| 13 | 1115:433d4f72a19b | Chris | <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
|
| 14 | 0:513646585e45 | Chris | <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> |
| 15 | <%= submit_tag l(:button_delete) %>
|
||
| 16 | 1464:261b3d9a4903 | Chris | <%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
|
| 17 | 0:513646585e45 | Chris | <% end %>
|
| 18 | </p>
|
||
| 19 | </div> |