<%=h l(:label_new_homework)%>

<%= form_for('new_form', :method => :post, :url => {:controller => 'homework_attach', :action => 'create', :user_id => User.current.id, :bid_id => @bid }) do |f|%>

标 题: <%= f.text_field "name", :required => true, :size => 60, :style => "width:490px;" %>

描 述: <%= f.text_area "description", :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %>

<%= l(:label_attachment_plural) %>

<%= render :partial => 'attachments/form' %>

<%= submit_tag t(:label_button_ok), :sta => 0, :class => "enterprise"%>

<% end %>