Mercurial > hg > soundsoftware-site
diff app/views/projects/.svn/text-base/destroy.rhtml.svn-base @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | 40f7cfd4df19 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/projects/.svn/text-base/destroy.rhtml.svn-base Fri Jul 23 15:52:44 2010 +0100 @@ -0,0 +1,16 @@ +<h2><%=l(:label_confirmation)%></h2> +<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', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %> +<% end %> +</p> +<p> + <% form_tag({:controller => 'projects', :action => 'destroy', :id => @project_to_destroy}) do %> + <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label> + <%= submit_tag l(:button_delete) %> + <% end %> +</p> +</div>