socialforge/app/views/courses/new_homework.html.erb

9 lines
423 B
Plaintext
Raw Permalink Normal View History

2013-08-30 09:34:21 +08:00
<h3><%=l(:label_course_new_homework)%></h3>
2014-06-30 11:15:52 +08:00
<%= labelled_form_for @homework, :url => {:controller => 'bids', :action => 'create_homework',:course_id => "#{params[:id] || params[:course_id]}"} 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>