annotate app/views/projects/.svn/text-base/destroy.rhtml.svn-base @ 22:40f7cfd4df19

* Update to SVN trunk rev 4173
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 24 Sep 2010 14:06:04 +0100
parents 513646585e45
children
rev   line source
Chris@0 1 <h2><%=l(:label_confirmation)%></h2>
Chris@0 2 <div class="warning">
Chris@0 3 <p><strong><%=h @project_to_destroy %></strong><br />
Chris@0 4 <%=l(:text_project_destroy_confirmation)%>
Chris@0 5
Chris@0 6 <% if @project_to_destroy.descendants.any? %>
Chris@0 7 <br /><%= l(:text_subprojects_destroy_warning, content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))) %>
Chris@0 8 <% end %>
Chris@0 9 </p>
Chris@0 10 <p>
chris@22 11 <% form_tag(project_path(@project_to_destroy), :method => :delete) do %>
Chris@0 12 <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
Chris@0 13 <%= submit_tag l(:button_delete) %>
Chris@0 14 <% end %>
Chris@0 15 </p>
Chris@0 16 </div>