Sha256: a14994f8a58e5762eef3777ac0d31c39ed7d9bc71ede248c6179fefe55e6974f
Contents?: true
Size: 933 Bytes
Versions: 1
Compression:
Stored size: 933 Bytes
Contents
<% # Clients of this partial must supply the following variable: # thread %> <span id="thread_<%= thread.id %>_header_span" class="thread_header"> <%= thread.config.comment_name.capitalize.pluralize %> </span> <div id="thread_<%= thread.id %>_comment_list_div" class="thread_comment_list"> <% thread.ordered_comments.each do |comment| %> <% next unless comment.can_be_read_by?(@commontator) %> <%= render :partial => 'commontator/comments/show', :locals => {:comment => comment} %> <% end %> </div> <% unless thread.is_closed? %> <div id="thread_<%= thread.id %>_new_comment_div" class="thread_new_comment"></div> <span id="thread_<%= thread.id %>_new_comment_link_span" class="thread_new_comment_link"> <%= link_to thread.config.comment_create_verb_present.capitalize + ' ' + thread.config.comment_name, new_thread_comment_path(thread), :remote => true %> </span> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commontator-0.2.4 | app/views/commontator/threads/_show.html.erb |