27 lines
1.4 KiB
Plaintext
27 lines
1.4 KiB
Plaintext
<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> 课程名称 :</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="ml45">
|
||
<label><span class="c_white">*</span> <%= l(:label_tags_course_eng_name)%> :</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=" ml90" >
|
||
<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> |