summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-30 18:30:14 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-30 18:30:14 +0000
commit12c904e891c5bb94b85ed20403746cbaa4186063 (patch)
treea22839b10c3397f08dab0cba4921dd1e67f514f1 /app
parent74dd6af8e07bf718cba9e6c1b8409cb0a9481063 (diff)
downloadredmine-12c904e891c5bb94b85ed20403746cbaa4186063.tar.gz
redmine-12c904e891c5bb94b85ed20403746cbaa4186063.zip
Moves the submit button out the div.
git-svn-id: http://svn.redmine.org/redmine/trunk@15594 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/destroy.html.erb21
1 files changed, 13 insertions, 8 deletions
diff --git a/app/views/projects/destroy.html.erb b/app/views/projects/destroy.html.erb
index ca5ae1723..11137f75e 100644
--- a/app/views/projects/destroy.html.erb
+++ b/app/views/projects/destroy.html.erb
@@ -1,19 +1,24 @@
<%= 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 %>