diff --git a/app/views/homework_attach/_addjour.html.erb b/app/views/homework_attach/_addjour.html.erb index cbc189ef5..5b2889b57 100644 --- a/app/views/homework_attach/_addjour.html.erb +++ b/app/views/homework_attach/_addjour.html.erb @@ -69,7 +69,9 @@ <% if User.current.logged? %> <%= f.text_area 'user_message', :rows => 3, :cols => 65, - :style => "resize: none;", :class => 'noline', :placeholder => l(:text_caracters_maximum,:count=>250)%> + :style => "resize: none;", :class => 'noline', :placeholder => l(:text_caracters_maximum,:count=>250), + :maxlength => 250 + %> <%= f.text_field :reference_user_id, :style=>"display:none"%>