comparison .svn/pristine/25/259870e377324ce9639c6de14a859fead9c01fbd.svn-base @ 1295:622f24f53b42 redmine-2.3

Update to Redmine SVN revision 11972 on 2.3-stable branch
author Chris Cannam
date Fri, 14 Jun 2013 09:02:21 +0100
parents
children
comparison
equal deleted inserted replaced
1294:3e4c3460b6ca 1295:622f24f53b42
1 <%= form_tag({:controller => 'journals', :action => 'edit', :id => @journal},
2 :remote => true,
3 :id => "journal-#{@journal.id}-form") do %>
4 <%= label_tag "notes", l(:description_notes), :class => "hidden-for-sighted" %>
5 <%= text_area_tag :notes, @journal.notes,
6 :id => "journal_#{@journal.id}_notes",
7 :class => 'wiki-edit',
8 :rows => (@journal.notes.blank? ? 10 : [[10, @journal.notes.length / 50].max, 100].min) %>
9 <%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %>
10 <p><%= submit_tag l(:button_save) %>
11 <%= preview_link preview_edit_issue_path(:project_id => @project, :id => @journal.issue),
12 "journal-#{@journal.id}-form",
13 "journal_#{@journal.id}_preview" %> |
14 <%= link_to l(:button_cancel), '#', :onclick => "$('#journal-#{@journal.id}-form').remove(); $('#journal-#{@journal.id}-notes').show(); return false;" %></p>
15
16 <div id="journal_<%= @journal.id %>_preview" class="wiki"></div>
17 <% end %>
18 <%= wikitoolbar_for "journal_#{@journal.id}_notes" %>