diff options
| author | gitlabhq <m@gitlabhq.com> | 2011-10-27 17:33:20 +0300 |
|---|---|---|
| committer | gitlabhq <m@gitlabhq.com> | 2011-10-27 17:33:20 +0300 |
| commit | 9611a27e0ca7e800d978d7355dbfb896f6f6cd2c (patch) | |
| tree | 68c818639ed4d0c2eb311239d1dcd6256063429b /app | |
| parent | 5fe736ab2847a5fd7f85363197e3ae0cbfd959e1 (diff) | |
| download | gitlab-ce-9611a27e0ca7e800d978d7355dbfb896f6f6cd2c.tar.gz | |
note as text
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/note.rb | 2 | ||||
| -rw-r--r-- | app/views/notes/_form.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index 9dcdbb55114..645bc7cec12 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -13,7 +13,7 @@ class Note < ActiveRecord::Base validates :note, :presence => true, - :length => { :within => 0..255 } + :length => { :within => 0..5000 } validates :attachment, :file_size => { diff --git a/app/views/notes/_form.html.haml b/app/views/notes/_form.html.haml index 14e74fa694f..86f0b779adb 100644 --- a/app/views/notes/_form.html.haml +++ b/app/views/notes/_form.html.haml @@ -10,7 +10,7 @@ %div = f.label :note - %cite (255 symbols only) + %cite %br = f.text_area :note, :size => 255 |
