Sha256: 84523c5732966f478be575219d1902832c4aaa729efa12c6cefeeb9eac772fe7
Contents?: true
Size: 788 Bytes
Versions: 2
Compression:
Stored size: 788 Bytes
Contents
<%= content_tag(:article, id: "blog_comment_#{comment.id}", class: "blog_comment") do %> <%= content_tag(:div, class: "blog_comment_name", id: "blog_comment_#{comment.id}_name") do %> <%= comment.website? ? link_to(comment.name, comment.website) : comment.name %> <%= t('blogit.comments.wrote') %> <% end %> <%= content_tag(:div, class: "blog_comment_body", id: "blog_comment_#{comment.id}_body") do %> <%= format_content comment.body || "" %> <% end %> <%= blog_tag(:footer, type: "comment") do %> <%=t :posted_on, scope: 'blogit.comments'%> <%= time_tag(comment.created_at, format: blogit_conf.datetime_format) %> <% end %> <%= render partial: "blogit/comments/admin_links", locals: {comment: comment} %> <% end if comment.persisted? %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blogit-1.0.0.rc1 | app/views/blogit/comments/_comment.html.erb |
blogit-0.8.0 | app/views/blogit/comments/_comment.html.erb |