评阅区默认显示本人上次给予的评分和评语
This commit is contained in:
parent
24b88fe326
commit
ee6b10094c
|
@ -1,7 +1,7 @@
|
|||
<%= form_for('new_form', :remote => true, :method => :post,:url => add_score_student_work_path(work.id),:id=>'add_score_'+work.id.to_s) do |f|%>
|
||||
<li >
|
||||
<span class="tit_fb"> 评价:</span>
|
||||
<%= f.text_area 'user_message', :class => 'hwork_ping_text', :id => 'score_comment_'+work.id.to_s, :placeholder => l(:text_caracters_maximum,:count=>500),:maxlength => 500 %>
|
||||
<textarea class="hwork_ping_text" cols="40" id="score_comment_<%= work.id.to_s %>" placeholder="<%= l(:text_caracters_maximum,:count=>500) %>" maxlength="500" name="new_form[user_message]" placeholder="最多 500 个字符。" rows="20"><%= score.try(:comment) %></textarea>
|
||||
<div class="cl"></div>
|
||||
</li>
|
||||
<p id="hint_message_<%=work.id %>" style="margin-left: 65px;"></p>
|
||||
|
|
Loading…
Reference in New Issue