Files
nairobi/app/views/comments/new.js.erb
2015-08-28 14:30:52 +02:00

3 lines
189 B
Plaintext

var field_with_errors = "#js-comment-form-<%= dom_id(@parent) %> #comment-body-<%= dom_id(@parent) %>";
App.Comments.display_error(field_with_errors, "<%= j render('comments/errors') %>");