Sha256: ecc1e0cf905533121ba64796124ae862afc04f7a9ac69e8ebf2acc89a58de080

Contents?: true

Size: 616 Bytes

Versions: 6

Compression:

Stored size: 616 Bytes

Contents

<% # Clients of this partial must supply the following variables:
   # thread
   # user
   # per_page
%>

<% if thread.is_closed? %>
  <p><%= t 'commontator.thread.status.cannot_post' %></p>
<% elsif !user %>
  <p><%= t 'commontator.require_login' %>.</p>
<% else %>
  <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 t('commontator.comment.actions.new'),
        commontator.new_thread_comment_path(thread, :per_page => per_page), :remote => true %>
  </span>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-4.8.0 app/views/commontator/threads/_reply.html.erb
commontator-4.7.2 app/views/commontator/threads/_reply.html.erb
commontator-4.7.1 app/views/commontator/threads/_reply.html.erb
commontator-4.7.0 app/views/commontator/threads/_reply.html.erb
commontator-4.6.1 app/views/commontator/threads/_reply.html.erb
commontator-4.6.0 app/views/commontator/threads/_reply.html.erb