%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_a.to_sentence}" %td= link_to "Edit", exposition.edit_admin_post_path(post) = paginate @posts