Sha256: 4f16750abcc1b7ec3edf626e2097bcdd55154efe5de17f2cffa28c84fd3058e8
Contents?: true
Size: 778 Bytes
Versions: 25
Compression:
Stored size: 778 Bytes
Contents
<p class="post-meta-info"> <%= content_tag :span, post.author.name, class: 'author-name' %> <%= content_tag :span, (post.published_at ? link_to(l(post.published_at, format: :tkh_default), post) : t('pages.not_published_yet')), class: 'published-date' %> <%= content_tag :span, "#{t('activerecord.models.comments')}#{t('colon')} #{post.comments.showable.for_locale(I18n.locale.to_s).count}", class: 'comment-count' %> <% if post.tags.count > 0 %> <span class="tag-list"> <%= render :partial => 'blog/individual_tag', collection: post.tags.alphabetically, as: :tag %> </span> <% end %> <% if administrator? %> <%= content_tag :span, (link_to t('edit'), edit_page_path(post), class: 'btn btn-xs btn-primary'), class: 'edit-button' %> <% end %> </p>
Version data entries
25 entries across 25 versions & 1 rubygems