Sha256: d87810b9ad5017ba01b33c19f4158f9f6ca0595ae3973006b7a974a082bfed0c
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
module Admin::CategoriesHelper def show_actions item html = <<-HTML <div class='action' style='margin-top: 10px;'> <small>#{link_to_permalink item, pluralize(item.articles.size, _('no articles') , _('1 article'), __('%d articles'))}</small> | <small>#{link_to _("Edit"), :action => 'edit', :id => item.id}</small> | <small>#{link_to _("Delete"), :action => 'destroy', :id => item.id}</small> </div> HTML end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typo-5.5 | app/helpers/admin/categories_helper.rb |
typo-5.4.4 | app/helpers/admin/categories_helper.rb |