Commit 1a7a27de80aa785c853bb16288d7ae3845e49133

Authored by AntonioTerceiro
1 parent 46a617ca

ActionItem21: removing article



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1013 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/views/cms/view.rhtml
... ... @@ -60,6 +60,7 @@
60 60  
61 61 <%= button('edit', _('Edit'), { :action => 'edit', :id => @article}) %>
62 62 <%= button('home', _('Use as homepage'), { :action => 'set_home_page', :id => @article }, { :method => :post }) %>
  63 + <%= button('delete', _('Delete'), { :action => 'destroy', :id => @article }, :method => :post, :confirm => _('Tem certeza que quer excluir este artigo?')) %>
63 64 <% end %>
64 65 <%= @article.to_html %>
65 66 <% end %>
... ...