Sha256: e26b8bc0fe7128a1b80fa625bb101d70b1da7b84c90aab51149a1c7af35d0cf3
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
<%# Views that use this partial must supply the following variables: thread user per_page %> <div id="commontator-thread-<%= thread.id %>-reply" class="reply"> <% if thread.is_closed? %> <p><%= t 'commontator.thread.status.cannot_post' %></p> <% elsif !user %> <p><%= t 'commontator.require_login' %>.</p> <% else %> <div id="commontator-thread-<%= thread.id %>-new-comment" class="new-comment<%= @commontator_new_comment.nil? ? ' hidden' : '' %>"> <% unless @commontator_new_comment.nil? %> <%= render partial: 'commontator/comments/form', locals: { comment: @commontator_new_comment, thread: thread, per_page: per_page } %> <% end %> </div> <% if @commontator_new_comment.nil? %> <div id="commontator-thread-<%= thread.id %>-new-comment-link" class="new-comment"> <%= link_to t('commontator.comment.actions.new'), commontator.new_thread_comment_path(thread, per_page: per_page), remote: true %> </div> <% end %> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commontator-6.0.0.pre.1 | app/views/commontator/threads/_reply.html.erb |