##// END OF EJS Templates
Replaces acts_as_list with an implementation that handles #position= (#12909)....
Replaces acts_as_list with an implementation that handles #position= (#12909). Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r14953:64afa24a7f72
Show More
destroy.html.erb
19 lines | 688 B | text/plain | TextLexer
<%= title l(:label_confirmation) %>
<div class="warning">
<p><strong><%=h @project_to_destroy %></strong><br />
<%=l(:text_project_destroy_confirmation)%>
<% if @project_to_destroy.descendants.any? %>
<br /><%= l(:text_subprojects_destroy_warning,
content_tag('strong', @project_to_destroy.descendants.collect{|p| p.to_s}.join(', '))).html_safe %>
<% end %>
</p>
<p>
<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
<%= submit_tag l(:button_delete) %>
<%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
<% end %>
</p>
</div>