Sha256: ca68979fb4f47d937b8deba874f8f9e91140d534131773c5350cb3c5ee63288d

Contents?: true

Size: 689 Bytes

Versions: 13

Compression:

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
blogit-0.4.6 app/views/blogit/comments/_comment.html.erb
blogit-0.4.5 app/views/blogit/comments/_comment.html.erb
blogit-0.4.4 app/views/blogit/comments/_comment.html.erb
blogit-0.4.3 app/views/blogit/comments/_comment.html.erb
blogit-0.4.2 app/views/blogit/comments/_comment.html.erb
blogit-0.4.1 app/views/blogit/comments/_comment.html.erb
blogit-0.4.0 app/views/blogit/comments/_comment.html.erb
blogit-0.3.2 app/views/blogit/comments/_comment.html.erb
blogit-0.3.1 app/views/blogit/comments/_comment.html.erb
blogit-0.3.0 app/views/blogit/comments/_comment.html.erb
blogit-0.2.1 app/views/blogit/comments/_comment.html.erb
blogit-0.2.0 app/views/blogit/comments/_comment.html.erb
blogit-0.1.0 app/views/blogit/comments/_comment.html.erb