Sha256: 15e5d3ce99513516c26ddf8986378cfd10818e0122eb58cae795ca331bcfbf13
Contents?: true
Size: 827 Bytes
Versions: 1
Compression:
Stored size: 827 Bytes
Contents
<div id="comments_module"> <div class="section_title"> <%=tr8n_toggler_tag("comments_content")%> <%=tra("Comments") %> <a name="comments"> </a> </div> <div class="section" id="comments_content"> <div style="margin-bottom:10px;"> <% if @comments.any? %> <%=tr8n_paginator_tag(@comments, "comment")%> <table style="width:100%; "> <% @comments.each do |comment| %> <% style = (comment == @comments.last ? "" : "border-bottom:1px dotted #ccc;" ) %> <tr style="<%=style%>"> <%= render :partial => "comment", :locals => {:comment => comment} %> </tr> <% end %> </table> <% else %> <%=tra("This phrase has no comments.")%> <% end %> </div> <%= render :partial => "new_comment" %> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tr8n-3.1.1 | app/views/tr8n/phrases/_comments_module.html.erb |