<div class="markPopup" id="popbox02">
  <%= form_for('new_form',:url =>  {:controller => 'homework_common',:action => 'set_evaluation_attr',:homework => @homework.id,:user_activity_id=>user_activity_id,:is_in_course=>is_in_course,:course_activity=>course_activity},:method => "post",:remote => true) do |f|%>
      <span class="uploadText">匿评设置</span>
      <div class="cl"></div>

      <div class="mt15">
        <span class="f14 fontGrey3 fl mt5">开启匿评</span>
        <div class="calendar_div fl ml10">
          <input  type="text" name="evaluation_start" id="evaluation_start_time" placeholder="开启匿评日期" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%= @homework_detail_manual.evaluation_start%>"/>
          <%#= calendar_for('evaluation_start_time')%>
        </div>
        <div class="cl"></div>
        <p id="homework_evaluation_start_time" class="c_red"></p>
      </div>
      <div class="cl"></div>

      <div class="mt15">
        <span class="f14 fontGrey3 fl mt5">关闭匿评</span>
        <div class="calendar_div fl ml10">
          <input  type="text" name="evaluation_end" id="evaluation_end_time" placeholder="关闭匿评日期" class="InputBox fl W120 calendar_input" readonly="readonly" value="<%= @homework_detail_manual.evaluation_end%>"/>
          <%#= calendar_for('evaluation_end_time')%>
        </div>
        <div class="cl"></div>
        <p id="homework_evaluation_end_time" class="c_red"></p>
      </div>
      <div class="cl"></div>

      <div class="mt15 mb10">
        <span class="f14 fontGrey3 mr10 fl mt5">匿评人数</span>
        <input type="text" name="evaluation_num" id="evaluation_num" placeholder="默认匿评人数为3" maxlength="2" class="markInput fl" value="<%= @homework_detail_manual.evaluation_num%>"/>
        <div class="cl"></div>
        <p id="evaluation_num_notice" class="c_red"></p>
      </div>
      <div class="cl"></div>

      <div class="mb20 none">
        <span class="f14 fontGrey3 mr10">禁用匿评</span>
        <input type="checkbox" />
        <span class="f12 c_red ml10">禁用后将无法进行学生互评</span>
      </div>
      <div class="cl"></div>

      <div>
        <div class="courseSendSubmit">
          <a href="javascript:void(0);" class="sendSourceText" onclick="submit_set_evaluation_attr('<%= @homework.end_time%>');">确定</a>
        </div>
        <div class="courseSendCancel">
          <a href="javascript:void(0);" class="sendSourceText linkGrey6" onclick="hideModal();">取消</a>
        </div>
      </div>
      <div class="cl"></div>
  <% end%>
</div>