Files
nairobi/app/views/comments/new.js.erb
2015-08-16 15:57:09 +02:00

3 lines
166 B
Plaintext

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