Sha256: ee48d46af04987af95b3f69103a7be591be8b66fc5f8d84c36d93358d23b05c5

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

<%= login_required class: "actions", id: "new_blog_post_link" do %>
  <%= link_to 'New Blog post', new_post_path %>
<% end %>

<% if posts.any? %>

  <%= render partial: "blogit/posts/post", 
    collection: posts, 
    spacer_template: "blog_post_spacer", 
    locals: {show_comments_count: true}  %>
<% else %>
  
  <%= render partial: "blogit/posts/empty" %>
  
<% end %>

<%= render "pagination" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogit-0.0.13 app/views/blogit/posts/index.html.erb
blogit-0.0.12 app/views/blogit/posts/index.html.erb
blogit-0.0.11 app/views/blogit/posts/index.html.erb