Sha256: 9b932eb9c70330c818afcdd0adc31767cc24e15c6d291d56885c39f21c23cf52

Contents?: true

Size: 860 Bytes

Versions: 1

Compression:

Stored size: 860 Bytes

Contents

<li>
  <div class='item'>
    <div class='icon'></div>
    <div class='action_links'>
      <% unless ComfyBlog.disqus_enabled? %>
        <%= link_to pluralize(post.comments.count, 'comment'), admin_blog_post_comments_path(post) %>
      <% end %>
      <%= link_to 'Edit', edit_admin_blog_post_path(post) %>
      <%= link_to 'Delete', admin_blog_post_path(post), :method => :delete, :confirm => 'Are you sure?' %>
    </div>
    <div class='label'>
      <%= link_to post.title.titleize, edit_admin_blog_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.1.3 app/views/admin/blog/posts/_post.html.erb