show.html.erb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:1k
源码类别:

Ajax

开发平台:

Others

  1. <div class="comment" id="comment-<%= @comment.id %>">
  2.   <div class="author">
  3.     <%= content_tag(:div, gravatar_tag(@comment.email)) if this_blog.use_gravatar and @comment.email %>
  4.     <cite><%= (@comment.url.blank?) ? h(@comment.author) : link_to(h(@comment.author), @comment.url) %></cite>
  5.     <abbr title="<%= @comment.created_at.xmlschema %>"><%= distance_of_time_in_words @comment.article.published_at, @comment.created_at %> later:</abbr>
  6.   </div>
  7.   <div class="content">
  8.     <%= @comment.html %>
  9.   </div>
  10.   <% unless @comment.published -%>
  11.   <div class="spamwarning"><%= _("This comment has been flagged for moderator approval.") %></div>
  12.   <% end -%>
  13. </div>