<div class="project_r_h02">
  <h2 class="project_h2">新建课程</h2>
</div>
<div class="hwork_new">
  <ul>
    <%= labelled_form_for @syllabus do |f| %>
        <li class="ml45">
          <label><span class="c_red">*</span>&nbsp;课程名称&nbsp;&nbsp;：</label>
          <input  type="text" name="title" id="new_syllabus_name" class="name_input" placeholder="例如：软件工程" maxlength="100" onkeyup="regex_syllabus_name();">
          <span class="c_red" id="new_syllabus_name_notice" style="display: none;">课程名称不能为空且至少有两个字符</span>
        </li>
        <div class="cl"></div>
        <li class="ml125 fontGrey3"><span class="success-icon mr25">正确示例：软件工程</span><span class="error-icon">错误示例：2016软件工程</span></li>
        <li class="ml125 mt10 mb10 fontGrey2">课程是针对一个具体的学科方向开展的教学内容与进程安排。<br/>本质上，一门课程就是一个教学计划。</li>
        <li class="ml45">
          <label><span class="c_white">*</span>&nbsp;<%= l(:label_tags_course_eng_name)%>&nbsp;&nbsp;：</label>
          <input  type="text" name="eng_name" id="new_syllabus_eng_name" placeholder="例如：Software Engineering" class="name_input" maxlength="100">
          <!--<span class="c_red" id="new_course_class_period_notice" style="display: none;"></span>-->
        </li>
        <div class="cl"></div>
        <li class=" ml55" >
          <a href="javascript:void(0)" class="blue_btn fl c_white" onclick="submit_new_syllabus();" >提交</a>
          <%= link_to "取消",user_activities_path(User.current.id),:class => "grey_btn fl c_white ml10"%>
          <div class="cl"></div>
        </li>
    <% end%>
  </ul>
</div><!--talknew end-->
<div class="cl"></div>