Sha256: 25597942209c9b8dba5756f46be071f052cf5c0a05ffea7b4fd194a867721d4b

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

<%= content_tag(:div, id: "blogit_comment_#{comment.id}", class: "blogit_comment") do %>

  <div class="blogit_comment__name">
    <%= name_for_comment(comment) %>
  </div>

  <div class="blogit_comment__body">
    <%= format_content(comment.body.to_s) %>
  </div>

  <div class="blogit_comment__created_at">
    <%= t(:posted_on, scope: 'blogit.comments') %> 
    <%= time_tag(comment.created_at, format: blogit_conf.datetime_format) %>
  </div>

<% end if comment.persisted? %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blogit-1.1.2 app/views/blogit/comments/_comment.html.erb
blogit-1.1.1 app/views/blogit/comments/_comment.html.erb
blogit-1.1.0 app/views/blogit/comments/_comment.html.erb
blogit-1.0.0 app/views/blogit/comments/_comment.html.erb