- if @note.line_code
  = render "create_diff_note", note: @note
- else
  = render "create_common_note", note: @note

-# Enable submit button
:plain
  $("#submit_note").removeAttr("disabled");