2012-02-24 21:36:44 +01:00
|
|
|
- if @note.line_code
|
2012-09-14 05:00:21 +02:00
|
|
|
= render "create_per_line_note", note: @note
|
2012-06-04 00:37:27 +02:00
|
|
|
- else
|
2012-09-14 05:00:21 +02:00
|
|
|
= render "create_common_note", note: @note
|
2011-10-17 19:05:47 +02:00
|
|
|
|
2012-02-24 21:36:44 +01:00
|
|
|
-# Enable submit button
|
2011-10-26 15:46:25 +02:00
|
|
|
:plain
|
2011-10-17 19:05:47 +02:00
|
|
|
$("#submit_note").removeAttr("disabled");
|