Commit 34914106 authored by jplang's avatar jplang

Moves the submit button out the div.

git-svn-id: https://svn.redmine.org/redmine/trunk@15594 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent eccbc8a7
<%= title l(:label_confirmation) %>
<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
<div class="warning">
<p><strong><%=h @project_to_destroy %></strong><br />
<%=l(:text_project_destroy_confirmation)%>
<p><strong><%=h @project_to_destroy %></strong></p>
<p>
<%=l(:text_project_destroy_confirmation)%>
<% if @project_to_destroy.descendants.any? %>
<br /><%= l(:text_subprojects_destroy_warning,
<br />
<%= l(:text_subprojects_destroy_warning,
content_tag('strong', @project_to_destroy.descendants.collect{|p| p.to_s}.join(', '))).html_safe %>
<% end %>
</p>
<p>
<%= form_tag(project_path(@project_to_destroy), :method => :delete) do %>
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
<%= submit_tag l(:button_delete) %>
<%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
<% end %>
<label><%= check_box_tag 'confirm', 1 %> <%= l(:general_text_Yes) %></label>
</p>
</div>
<p>
<%= submit_tag l(:button_delete) %>
<%= link_to l(:button_cancel), :controller => 'admin', :action => 'projects' %>
</p>
<% end %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment