gitlabhq/app/views/notes/create.js.haml
2012-09-14 21:41:56 +02:00

9 lines
196 B
Plaintext

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