Sha256: 690e5fdd869f3505050c2cc5d12f592e0fca8df7b11e01960a1a590d59bdbeb1
Contents?: true
Size: 1021 Bytes
Versions: 5
Compression:
Stored size: 1021 Bytes
Contents
<li> <div class='item'> <div class='icon <%= post.is_published?? 'published' : 'draft' %>'></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.created_at) %> ago <% if post.author.present? %> by <strong><%= post.author %></strong> <% end %> <% if post.tags.count > 0 %> Tagged with: <% post.tags.each do |tag| %> <span class="tag"><%= tag.name %></span> <% end %> <% end %> </div> </div> </div> </li>
Version data entries
5 entries across 5 versions & 1 rubygems