Fix parameter passing and wording for per line notes
This commit is contained in:
parent
b91d680257
commit
9b919939a3
9 changed files with 27 additions and 12 deletions
|
@ -1 +1,6 @@
|
|||
= link_to "", "#", class: "line_note_link", data: { line_code: line_code }, title: "Add note for this line"
|
||||
= link_to "",
|
||||
"#",
|
||||
id: "line-note-#{line_code}",
|
||||
class: "line_note_link",
|
||||
data: @comments_target.merge({ line_code: line_code }),
|
||||
title: "Add comment on line #{line_code[/[0-9]+$/]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue