app/views/talkie/comments/_comment.html.erb in talkie-0.3.1 vs app/views/talkie/comments/_comment.html.erb in talkie-0.3.2
- old
+ new
@@ -22,10 +22,10 @@
<div class="talkie-comment-footer">
<% if !nested_enabled? && deletable_and_allowed?(comment) %>
<%= link_to_delete_comment comment %>
<% end %>
- <% if nested_enabled? %>
+ <% if nested_enabled? && comment_form_displayable? %>
<div class="talkie-comment-reply">
<a href="#" class="talkie-comment-reply-link"><%= t("talkie.comment.reply") %></a>
<% if deletable_and_allowed? comment %>
<%= link_to_delete_comment comment %>
<% end %>