OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/planning_elements/confirm_move_to_trash.html.erb

29 lines
970 B

<%#-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
See doc/COPYRIGHT.rdoc for more details.
++#%>
<%= header_tags %>
<%= render :partial => 'breadcrumb', :locals => {:planning_element => @planning_element} %>
<%= form_for @planning_element,
:url => move_to_trash_project_planning_element_path(@planning_element.project,
@planning_element), :html => {:method => 'delete'} do |f| %>
<div class='flash warning'>
<%= l('timelines.really_move_planning_element_to_trash') %>
</div>
<%= submit_tag l("timelines.button_move_to_trash") %>
<%= link_to l(:button_cancel), project_planning_elements_path(@project) %>
<% end %>
<hr/>
<%= render :partial => 'planning_element', :object => @planning_element %>