_comment.html.erb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:1k
- <li class="comment" id="comment-<%= comment.id %>">
- <div class="author">
- <%= content_tag(:div, gravatar_tag(comment.email)) if this_blog.use_gravatar and comment.email %>
- <strong><cite><%= (comment.url.blank?) ? h(comment.author) : link_to(h(comment.author), comment.url) %></cite></strong><br />
- <abbr title="<%= comment.created_at.xmlschema %>"><%= distance_of_time_in_words comment.article.published_at, comment.created_at %> later:</abbr>
- </div>
- <div class="content">
- <%= comment.html %>
- </div>
- <% unless comment.published -%>
- <div class="spamwarning"><%= _("This comment has been flagged for moderator approval.") %></div>
- <% end -%>
- </li>