annotate app/views/journals/.svn/text-base/_notes_form.rhtml.svn-base @ 904:0a8317a50fa0
redmine-1.1
Close obsolete branch redmine-1.1
author |
Chris Cannam |
date |
Fri, 14 Jan 2011 12:53:21 +0000 |
parents |
513646585e45 |
children |
cbce1fd3b1b7 |
rev |
line source |
Chris@0
|
1 <% form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %>
|
Chris@0
|
2 <%= text_area_tag :notes, @journal.notes, :class => 'wiki-edit',
|
Chris@0
|
3 :rows => (@journal.notes.blank? ? 10 : [[10, @journal.notes.length / 50].max, 100].min) %>
|
Chris@0
|
4 <%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %>
|
Chris@0
|
5 <p><%= submit_tag l(:button_save) %>
|
Chris@0
|
6 <%= link_to l(:button_cancel), '#', :onclick => "Element.remove('journal-#{@journal.id}-form'); " +
|
Chris@0
|
7 "Element.show('journal-#{@journal.id}-notes'); return false;" %></p>
|
Chris@0
|
8 <% end %>
|