2015-05-20 15:05:35 +08:00
|
|
|
<%= javascript_include_tag "/assets/kindeditor/kindeditor" %>
|
|
|
|
<%= error_messages_for 'homework_common' %>
|
|
|
|
|
2015-05-19 17:41:19 +08:00
|
|
|
<div class="project_r_h">
|
2015-05-20 15:05:35 +08:00
|
|
|
<h2 class="project_h2">
|
|
|
|
<%= l(:label_course_homework_new)%>
|
|
|
|
</h2>
|
2015-05-19 17:41:19 +08:00
|
|
|
</div>
|
|
|
|
<div class="hwork_new">
|
2015-05-20 15:05:35 +08:00
|
|
|
<%= labelled_form_for @homework,:url => {:controller => 'homework_common',:action => 'create'} do |f| %>
|
|
|
|
<%= render :partial => 'homework_common/homework_common_form', :locals => { :homework => @homework,:f => f,:edit_mode => false } %>
|
|
|
|
<a class="blue_btn fl mr10 " onClick="show_window();" >提交</a>
|
|
|
|
<a href="#" target="_blank" class="grey_btn fl ">取消</a>
|
|
|
|
<% end%>
|
2015-05-19 17:41:19 +08:00
|
|
|
</div><!--hwork_new end-->
|
|
|
|
<div class="cl"></div>
|