2013-08-30 09:34:21 +08:00
|
|
|
<h3><%=l(:label_course_new_homework)%></h3>
|
|
|
|
|
2013-09-12 10:41:15 +08:00
|
|
|
<%= labelled_form_for @homework, :url => {:controller => 'bids', :action => 'create_homework'} do |f| %>
|
2013-08-30 09:34:21 +08:00
|
|
|
<div class="box tabular">
|
2013-09-12 10:41:15 +08:00
|
|
|
<%= render :partial => 'homework_form', :locals => { :f => f } %>
|
2013-11-08 15:49:08 +08:00
|
|
|
<%= submit_tag l(:button_create), :class => "enterprise" %>
|
2013-08-30 09:34:21 +08:00
|
|
|
<%= javascript_tag "$('#bid_name').focus();" %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|