2016-06-28 15:13:04 +08:00
|
|
|
|
<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">
|
2016-07-01 11:11:53 +08:00
|
|
|
|
<label><span class="c_red">*</span> 课程名称 :</label>
|
|
|
|
|
<input type="text" name="title" id="new_syllabus_name" class="name_input" placeholder="例如:设计管理" maxlength="100" onkeyup="regex_syllabus_name();">
|
2016-06-28 15:13:04 +08:00
|
|
|
|
<span class="c_red" id="new_syllabus_name_notice" style="display: none;">课程名称不能为空且至少有两个字符</span>
|
|
|
|
|
</li>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<li class="ml45">
|
|
|
|
|
<label><span class="c_white">*</span> <%= l(:label_tags_course_eng_name)%> :</label>
|
2016-07-01 11:11:53 +08:00
|
|
|
|
<input type="text" name="eng_name" id="new_syllabus_eng_name" placeholder="例如:Management of design" class="name_input" maxlength="100">
|
2016-06-28 15:13:04 +08:00
|
|
|
|
<!--<span class="c_red" id="new_course_class_period_notice" style="display: none;"></span>-->
|
|
|
|
|
</li>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<li class=" ml90" >
|
|
|
|
|
<a href="javascript:void(0)" class="blue_btn fl c_white" onclick="submit_new_syllabus();" >提交</a>
|
2016-07-07 15:08:34 +08:00
|
|
|
|
<%= link_to "取消",user_activities_path(User.current.id),:class => "grey_btn fl c_white ml10"%>
|
2016-06-28 15:13:04 +08:00
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</li>
|
|
|
|
|
<% end%>
|
|
|
|
|
</ul>
|
|
|
|
|
</div><!--talknew end-->
|
|
|
|
|
<div class="cl"></div>
|