From 1a7a27de80aa785c853bb16288d7ae3845e49133 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sat, 1 Dec 2007 19:59:15 +0000 Subject: [PATCH] ActionItem21: removing article --- app/views/cms/view.rhtml | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/views/cms/view.rhtml b/app/views/cms/view.rhtml index 8c2ad84..c77aca4 100644 --- a/app/views/cms/view.rhtml +++ b/app/views/cms/view.rhtml @@ -60,6 +60,7 @@ <%= button('edit', _('Edit'), { :action => 'edit', :id => @article}) %> <%= button('home', _('Use as homepage'), { :action => 'set_home_page', :id => @article }, { :method => :post }) %> + <%= button('delete', _('Delete'), { :action => 'destroy', :id => @article }, :method => :post, :confirm => _('Tem certeza que quer excluir este artigo?')) %> <% end %> <%= @article.to_html %> <% end %> -- libgit2 0.21.2