@@ -1,6 +1,6 | |||||
1 | <% form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %> |
|
1 | <% form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %> | |
2 |
<%= text_area_tag :notes, |
|
2 | <%= text_area_tag :notes, @journal.notes, :class => 'wiki-edit', | |
3 |
|
|
3 | :rows => (@journal.notes.blank? ? 10 : [[10, @journal.notes.length / 50].max, 100].min) %> | |
4 | <%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %> |
|
4 | <%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %> | |
5 | <p><%= submit_tag l(:button_save) %> |
|
5 | <p><%= submit_tag l(:button_save) %> | |
6 | <%= link_to l(:button_cancel), '#', :onclick => "Element.remove('journal-#{@journal.id}-form'); " + |
|
6 | <%= link_to l(:button_cancel), '#', :onclick => "Element.remove('journal-#{@journal.id}-form'); " + |
General Comments 0
You need to be logged in to leave comments.
Login now