Sha256: 2a93e825ae355bb44a2cc17833718242b29b6d733e72ae8feb89de6925d768f1
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 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 %> <%=t :wrote, scope: 'blogit.comments', author: comment.website? ? link_to(comment.name, comment.website) : comment.name %> <% 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, Blogit.configuration.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-0.7.0 | app/views/blogit/comments/_comment.html.erb |
blogit-0.6.0 | app/views/blogit/comments/_comment.html.erb |