destroy.rhtml
16 lines
| 610 B
| text/html+ruby
|
RhtmlLexer
|
r330 | <h2><%=l(:label_confirmation)%></h2> | ||
|
r1344 | <div class="warning"> | ||
<p><strong><%=h @project_to_destroy %></strong><br /> | ||||
<%=l(:text_project_destroy_confirmation)%> | ||||
|
r330 | |||
|
r2302 | <% if @project_to_destroy.descendants.any? %> | ||
<br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %> | ||||
|
r1344 | <% end %> | ||
</p> | ||||
|
r330 | <p> | ||
|
r546 | <% form_tag({:controller => 'projects', :action => 'destroy', :id => @project_to_destroy}) do %> | ||
|
r1344 | <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> | ||
|
r330 | <%= submit_tag l(:button_delete) %> | ||
<% end %> | ||||
</p> | ||||
|
r1344 | </div> | ||