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