comments: adjust link to howto:comment.

Replace the giant banner about reading the comment guidelines with a
smaller link to howto:comment beneath the comment text box.
This commit is contained in:
evazion
2020-03-24 18:32:30 -05:00
parent 18e11f77be
commit 50b0b79891
5 changed files with 8 additions and 11 deletions

View File

@@ -4,7 +4,7 @@
<% if comment.new_record? %>
<%= f.hidden_field :post_id %>
<% end %>
<%= dtext_field "comment", "body", :classes => "autocomplete-mentions", :value => comment.body, :input_id => "comment_body_for_#{comment.id}", :preview_id => "dtext-preview-for-#{comment.id}" %>
<%= dtext_field "comment", "body", classes: "autocomplete-mentions", value: comment.body, input_id: "comment_body_for_#{comment.id}", preview_id: "dtext-preview-for-#{comment.id}", hint: link_to_wiki("Comment rules", "howto:comment").html_safe %>
<%= f.button :submit, "Submit" %>
<%= dtext_preview_button "comment", "body", :input_id => "comment_body_for_#{comment.id}", :preview_id => "dtext-preview-for-#{comment.id}" %>
<% if comment.new_record? %>