Blog Post List
<% @blog_posts.each do |blog_post| %> <% end %>
Blog Title Blog Text Post Status
<%= blog_post.blogpsttitle %> <%= truncate(blog_post.blogpsttext, :length => 80) %> <%= blog_post.pststatus %>
<%= link_to 'Edit', edit_blog_post_path(blog_post), class: "btn btn-primary btn-xs" %> <%= link_to 'Trash', blog_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to 'New Blog Post', new_blog_post_path, class: "btn btn-primary" %>