diff --git a/app/views/cms/destroy.rhtml b/app/views/cms/destroy.rhtml
index 58be7f8..e9fcb08 100644
--- a/app/views/cms/destroy.rhtml
+++ b/app/views/cms/destroy.rhtml
@@ -4,16 +4,8 @@
<% labelled_form_for 'article', @article, :url => { :action => 'destroy' }, :method => 'post' do |f| %>
-
<%= @article.title %>
-
- <%= @article.to_html %>
-
- <%= hidden_field_tag('id', @article) %>
-
-
-
- <% if @article.blog? %>
+ <% if @article.folder? %>
<%= _('Are you sure that you want to remove this folder? Note that all the items inside it will also be removed!') %>
<% else %>
<%= _('Are you sure that you want to remove this item?') %>
@@ -24,4 +16,13 @@
<%= submit_button :save, _('Yes, I want.') %>
<%= button :cancel, _("No, I don't want."), @article.url %>
<% end %>
+
+ <%= @article.title %>
+
+ <%= @article.to_html %>
+
+ <%= hidden_field_tag('id', @article) %>
+
+
+
<% end %>
--
libgit2 0.21.2