编程作业评分比例设置第一次加载时教辅评分百分比上限设置
This commit is contained in:
parent
8eb2c75cbc
commit
cdc285797e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue