annotate app/views/projects/destroy.rhtml @ 1452:d6b9fd02bb89 feature_36_js_refactoring

Deprecated develoment branch.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 11 Oct 2013 17:01:24 +0100
parents 40f7cfd4df19
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>