Sha256: d01476bbb372a263aafd6c0491dcaa125e049e031b55f35a78db6861d7022ab4

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

<%= render :partial => 'left' %>
<h1 class="posts icon">Blog Posts</h1>
<% if @posts.empty? -%>
<div class="inset">
  <h2>You haven't written any posts!</h2>
  <b class="grey">Get started:</b> <%= button_link_to('Add a Post', new_admin_post_path, :icon => 'add') %>
</div>
<% else -%>
<%= render :partial => 'list', :locals => {:posts => @posts} %>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grandstand-0.2.4 app/views/admin/posts/index.html.erb
grandstand-0.2.3 app/views/admin/posts/index.html.erb
grandstand-0.2.2 app/views/admin/posts/index.html.erb
grandstand-0.2.1 app/views/admin/posts/index.html.erb