Sha256: 1dbb04741ed0eaeb03420a50e55e2caf9a84a7fd3f63ecda1b2ed3a018f091d0

Contents?: true

Size: 759 Bytes

Versions: 1

Compression:

Stored size: 759 Bytes

Contents

<li>
  <div class='item'>
    <div class='action_links'>
      <%= link_to pluralize(post.comments.count, 'comment'), admin_post_comments_path(post) %>
      <%= link_to 'Edit', edit_admin_post_path(post) %>
      <%= link_to 'Delete', admin_post_path(post), :method => :delete, :confirm => 'Are you sure?' %>
    </div>
    <div class='label'>
      <%= link_to post.title.titleize, edit_admin_post_path(post) %>
      <div class='sublabel'>
        Published <%= time_ago_in_words(post.updated_at) %> ago
        by <strong><%= post.author %></strong>
        <%= '[DRAFT]' if !post.is_published? %>
        <% post.tags.each do |tag| %>
          <span class="tag"><%= tag.name %></span>
        <% end %>
        
      </div>  
    </div>
  </div>
</li>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfy_blog-0.0.0 app/views/blog/admin/posts/_post.html.erb