wrapped comments

This commit is contained in:
2023-12-03 12:01:25 +01:00
parent db721ea1d8
commit d12feef4ba

View File

@@ -33,7 +33,8 @@
<%= link_to_attachments @news %>
</div>
<div id="comments" style="margin-bottom:16px;" class="flex-box">
<div class="news-content flex-box">
<div id="comments" style="margin-bottom:16px;">
<h3 class="comments"><%= l(:label_comment_plural) %></h3>
<% if @news.commentable? && @comments.size >= 3 %>
<p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments", :scroll => "comment_comments" %></p>
@@ -67,6 +68,7 @@
<p><%= submit_tag l(:button_add) %></p>
<% end %>
</div>
</div>
<% end %>
<% html_title @news.title -%>