annotate .svn/pristine/87/8755b7cb985a4f9d801e46a233fcd3dca9bd6653.svn-base @ 1458:b1f4c9a2af24 bug_794

Makes the default radio button checked by default -- this should fix bug #794.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 11 Nov 2013 18:25:22 +0000
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 <h2><%=l(:label_confirmation)%></h2>
Chris@1296 2 <div class="warning">
Chris@1296 3 <p><strong><%=h @project_to_destroy %></strong><br />
Chris@1296 4 <%=l(:text_project_destroy_confirmation)%>
Chris@1296 5
Chris@1296 6 <% if @project_to_destroy.descendants.any? %>
Chris@1296 7 <br /><%= l(:text_subprojects_destroy_warning,
Chris@1296 8 content_tag('strong', h(@project_to_destroy.descendants.collect{|p| p.to_s}.join(', ')))).html_safe %>
Chris@1296 9 <% end %>
Chris@1296 10 </p>
Chris@1296 11 <p>
Chris@1296 12 <%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
Chris@1296 13 <label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
Chris@1296 14 <%= submit_tag l(:button_delete) %>
Chris@1296 15 <% end %>
Chris@1296 16 </p>
Chris@1296 17 </div>