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"%>
<%= l(:label_submit_comments) %> diff --git a/app/views/homework_attach/_show.html.erb b/app/views/homework_attach/_show.html.erb index c0b397483..bce3e4d03 100644 --- a/app/views/homework_attach/_show.html.erb +++ b/app/views/homework_attach/_show.html.erb @@ -1,6 +1,42 @@ <% reply_allow = JournalsForMessage.create_by_user? User.current %> +