2015-09-02 17:04:01 +08:00
|
|
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor" %>
|
2015-08-15 10:45:56 +08:00
|
|
|
<%= error_messages_for 'homework_common' %>
|
2015-09-02 17:04:01 +08:00
|
|
|
<div class="project_r_h">
|
|
|
|
<h2 class="project_h2">
|
|
|
|
<%= l(:label_course_homework_new)%>
|
|
|
|
</h2>
|
|
|
|
</div>
|
2015-08-15 10:45:56 +08:00
|
|
|
<div class="hwork_new">
|
|
|
|
<%= labelled_form_for @homework,:url => {:controller => 'homework_common',:action => 'create'} do |f| %>
|
|
|
|
<%= hidden_field_tag "course",@course.id%>
|
2015-09-02 17:04:01 +08:00
|
|
|
<%= render :partial => 'homework_common/homework_detail_manual_form', :locals => { :homework => @homework,:f => f,:edit_mode => false } %>
|
|
|
|
<a href="javascript:void(0)" class="blue_btn fl mr10" onClick="submit_homework('new_homework_common');" >提交</a>
|
|
|
|
<%#= link_to "上一步", new_homework_common_path(:course => @course.id), :class => "orange_btn_homework fl"%>
|
|
|
|
<%= link_to '取消',homework_common_index_path(:course => @course.id),:class => 'grey_btn fl'%>
|
2015-06-16 14:45:57 +08:00
|
|
|
<% end%>
|
2015-05-19 17:41:19 +08:00
|
|
|
</div><!--hwork_new end-->
|
2015-06-17 17:01:03 +08:00
|
|
|
<div class="cl"></div>
|