- if note_for_main_target?(@note) = render "create_common_note", note: @note - else = render "create_discussion_note", note: @note