编程作业评分比例设置第一次加载时教辅评分百分比上限设置

This commit is contained in:
sw 2015-09-18 11:33:52 +08:00
parent 8eb2c75cbc
commit cdc285797e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<div> <div>
<span class="f14 fontGrey3 mr10">教辅评分</span> <span class="f14 fontGrey3 mr10">教辅评分</span>
<%= select_tag :ta_proportion,options_for_select(ta_proportion_option,homework.homework_detail_manual.ta_proportion), {:class => "markPercentage"} %> <%= select_tag :ta_proportion,options_for_select(ta_proportion_option_to(100-(homework.homework_detail_programing ? homework.homework_detail_programing.ta_proportion * 100 : 0).to_i),homework.homework_detail_manual.ta_proportion), {:class => "markPercentage"} %>
</div> </div>
<div> <div>
<span class="f14 fontGrey3 mr10">学生匿评</span> <span class="f14 fontGrey3 mr10">学生匿评</span>