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 @ 912:5e80956cc792
History | View | Annotate | Download (586 Bytes)
| 1 | 0:513646585e45 | Chris | <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 | 22:40f7cfd4df19 | chris | <% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
|
| 12 | 0:513646585e45 | Chris | <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> |
| 13 | <%= submit_tag l(:button_delete) %>
|
||
| 14 | <% end %>
|
||
| 15 | </p>
|
||
| 16 | </div> |