Sha256: 5bfe98c630a82da6c99036bf98c57a24deaabc4432f4aa47d99fdaecdde16b6c
Contents?: true
Size: 631 Bytes
Versions: 5
Compression:
Stored size: 631 Bytes
Contents
%section.posts .admin-title-header %h2 Posts = link_to "Add New", exposition.new_admin_post_path %table %thead %tr %th Title %th Article %th Author %th Slug %th Tags %th Manage %tbody - @posts.each do |post| %tr.post{class: "#{post.css_classes}"} %td= "#{post.title}" %td= truncate(post.summary, length: 40, separator: ' ') %td= "#{post.author.name}" %td= "#{post.slug}" %td= "#{post.tags.to_sentence}" %td= link_to "Edit", exposition.edit_admin_post_path(post) = paginate @posts
Version data entries
5 entries across 5 versions & 1 rubygems