Sha256: 40695e3fa5e6814561adfde8e88969098b07a3f4362416d9a08aa6d77f4f87e1
Contents?: true
Size: 504 Bytes
Versions: 7
Compression:
Stored size: 504 Bytes
Contents
<li> <%= link_to post.title.name, edit_admin_post_path(post), class: %w(title) %> <div class='info'> <% if post.tags.any? %> <%= content_tag :span, post.tags.map(&:name).join(', '), class: %w(tags) %> <% end %> <%= content_tag :span, class: %w(status) do %> <% if post.published? %> Published <%= time_ago_in_words(post.published_at) %> ago <% else %> Drafted <%= time_ago_in_words(post.created_at) %> ago <% end %> <% end %> </div> </li>
Version data entries
7 entries across 7 versions & 1 rubygems