diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-08 07:30:03 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-08 07:30:03 +0000 |
commit | c585d224d877e41e6eca039ccffb599f5239bfb0 (patch) | |
tree | dfaf673131e7294eb94457db7114569079d56544 /app/views | |
parent | b1996b38b416b52cc6c181eb4c5e34c9c147eb37 (diff) | |
download | redmine-c585d224d877e41e6eca039ccffb599f5239bfb0.tar.gz redmine-c585d224d877e41e6eca039ccffb599f5239bfb0.zip |
replace tabs to spaces at app/views/issues/_form.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8123 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_form.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index 8b5c014a5..74562bff9 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -12,11 +12,11 @@ <p><%= f.text_field :subject, :size => 80, :required => true %></p> <p> - <label><%= l(:field_description) %></label> - <%= link_to_function image_tag('edit.png'), + <label><%= l(:field_description) %></label> + <%= link_to_function image_tag('edit.png'), 'Element.hide(this); Effect.toggle("issue_description_and_toolbar", "appear", {duration:0.3})' unless @issue.new_record? %> - <% content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %> - <%= f.text_area :description, + <% content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %> + <%= f.text_area :description, :cols => 60, :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min), :accesskey => accesskey(:edit), |