Sha256: 9720ad2b69e18c73f896214636ee8a9f87b830c98d3ef60a35dd21604d4c7989
Contents?: true
Size: 710 Bytes
Versions: 8
Compression:
Stored size: 710 Bytes
Contents
.yui-b = render :partial => 'shared/admin_nav' #yui-main .yui-b -box do %h3=:categories.l %table{:width=>"100%"} %tr %th=:name.l %th \# =:posts.l %th=:actions.l - for category in @categories %tr %td= category.name %td= category.posts.size %td = link_to :show.l, category_path(category) | = link_to :edit.l, edit_category_path(category) | = link_to :destroy.l, category_path(category), :confirm => :are_you_sure.l, :method => :delete %br = link_to :new_category.l, new_category_path
Version data entries
8 entries across 8 versions & 1 rubygems