5 lines
250 B
Plaintext
5 lines
250 B
Plaintext
<% dom_id = parent_or_commentable_dom_id(@comment.parent_id, @commentable) %>
|
|
|
|
var field_with_errors = "#js-comment-form-<%= dom_id %> #comment-body-<%= dom_id %>";
|
|
App.Comments.display_error(field_with_errors, "<%= j render("comments/errors") %>");
|