Sha256: f03b479cad95d1e8926d4ce926dd7b44e6a84cadbacd6018c5cbc2e9718744e4
Contents?: true
Size: 780 Bytes
Versions: 2
Compression:
Stored size: 780 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_comment_tag(:footer) 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.5.1 | app/views/blogit/comments/_comment.html.erb |
blogit-0.5.0 | app/views/blogit/comments/_comment.html.erb |