From: Toshi MARUYAMA Date: Thu, 15 Sep 2011 09:26:29 +0000 (+0000) Subject: remove trailing white-spaces from app/views/journals/_notes_form.html.erb X-Git-Tag: 1.3.0~728 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9416de069e37b78f7384831e99d1e1d9c51224f3;p=redmine.git remove trailing white-spaces from app/views/journals/_notes_form.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7240 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/journals/_notes_form.html.erb b/app/views/journals/_notes_form.html.erb index 7e44f4a91..b6973d16d 100644 --- a/app/views/journals/_notes_form.html.erb +++ b/app/views/journals/_notes_form.html.erb @@ -1,11 +1,11 @@ <% form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %> <%= text_area_tag :notes, @journal.notes, :id => "journal_#{@journal.id}_notes", - :class => 'wiki-edit', + :class => 'wiki-edit', :rows => (@journal.notes.blank? ? 10 : [[10, @journal.notes.length / 50].max, 100].min) %> <%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %>

<%= submit_tag l(:button_save) %> - <%= link_to_remote l(:label_preview), + <%= link_to_remote l(:label_preview), { :url => preview_issue_path(:project_id => @project, :id => @journal.issue), :method => 'post', :update => "journal_#{@journal.id}_preview",