新建作业显示迟交扣分、缺评扣分
This commit is contained in:
parent
e55d307d33
commit
acc3f6dadf
|
@ -15,7 +15,7 @@ module HomeworkCommonHelper
|
||||||
#教辅评分比例下拉框
|
#教辅评分比例下拉框
|
||||||
def ta_proportion_option
|
def ta_proportion_option
|
||||||
type = []
|
type = []
|
||||||
i = 10
|
i = 0
|
||||||
while i <= 100
|
while i <= 100
|
||||||
option = []
|
option = []
|
||||||
option << i.to_s + "%"
|
option << i.to_s + "%"
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
<p class="fl ml20 f14 mb10 c_orange">基本规则设置(总分为100分)</p>
|
<p class="fl ml20 f14 mb10 c_orange">基本规则设置(总分为100分)</p>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<ul class="ml10">
|
<ul class="ml10">
|
||||||
<li style="display: none;">
|
<li>
|
||||||
<label class="label02">迟交扣分: </label>
|
<label class="label02">迟交扣分: </label>
|
||||||
<%= select_tag :late_penalty,options_for_select(late_penalty_option,homework.late_penalty), {:class => "fl mb10 h26 w70"} %>
|
<%= select_tag :late_penalty,options_for_select(late_penalty_option,homework.late_penalty), {:class => "fl mb10 h26 w70"} %>
|
||||||
<span class="fl mt5"> 分</span>
|
<span class="fl mt5"> 分</span>
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li style="display: none;">
|
<li>
|
||||||
<label class="label02">缺评扣分: </label>
|
<label class="label02">缺评扣分: </label>
|
||||||
<%= select_tag :absence_penalty,options_for_select(absence_penalty_option,homework.homework_detail_manual.absence_penalty), {:class => "fl mb10 h26 w70"} %>
|
<%= select_tag :absence_penalty,options_for_select(absence_penalty_option,homework.homework_detail_manual.absence_penalty), {:class => "fl mb10 h26 w70"} %>
|
||||||
<span class="fl mt5"> 分</span>
|
<span class="fl mt5"> 分</span>
|
||||||
|
|
Loading…
Reference in New Issue