Sha256: 6174bd31ea683c92e398ba73cc2031ec07302d9aeaf38c9e4185f20b65f29def

Contents?: true

Size: 691 Bytes

Versions: 2

Compression:

Stored size: 691 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 %> wrote:
  <% 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 %>
    Posted on <%= time_tag(comment.created_at, Blogit.configuration.datetime_format) %>
  <% end %>
  
  <%= render partial: "blogit/comments/admin_links" %>
  
<% end if comment.persisted? %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogit-0.4.8 app/views/blogit/comments/_comment.html.erb
blogit-0.4.7 app/views/blogit/comments/_comment.html.erb