diff --git a/app/views/cms/destroy.rhtml b/app/views/cms/destroy.rhtml new file mode 100644 index 0000000..58be7f8 --- /dev/null +++ b/app/views/cms/destroy.rhtml @@ -0,0 +1,27 @@ +

<%= _('Delete: %s') % @article.name %>

+ +<%= error_messages_for 'article' %> + +<% 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? %> + <%= _('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?') %> + <% end %> + + + <% button_bar do %> + <%= submit_button :save, _('Yes, I want.') %> + <%= button :cancel, _("No, I don't want."), @article.url %> + <% end %> +<% end %> -- libgit2 0.21.2