Files
nairobi/app/views/legislation/annotations/new_comment.js.erb
2019-03-19 12:16:50 +01:00

4 lines
200 B
Plaintext

$("#comments-box-<%= @annotation.id %>").replaceWith("<%= j render("comments_box", annotation: @annotation) %>").show();
<%= render "comments_box_form", comment: @comment, annotation: @annotation %>