- if @note.line_code = render "create_line", note: @note - else = render "create_common", note: @note -# Enable submit button :plain $("#submit_note").removeAttr("disabled");