Sha256: 53966b237f615de9bfabf7b29deca9751c680d7aac078943faf16f778f030096
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
- if posts.any? %h2= title .admin-post-list - posts.each do |post| .row .ten.columns %a{:href => "/admin/edit/#{post.id}"}= h (post.title || ("%s..." % post.body.first(50))) .two.columns.icons %a{:href => url_for(post)}= icon 'eye-open' %a{:href => "/admin/edit/#{post.id}"}= icon 'edit' = link_to_delete_post icon('trash'), post
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
schnitzelpress-0.2.1 | lib/views/partials/_admin_post_list.haml |
schnitzelpress-0.2.0 | lib/views/partials/_admin_post_list.haml |