<%=raw l(:label_new_homework)%>

<%= form_for('new_form', :remote => true, :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_new), :sta => 0, :class => "enterprise"%> <%= submit_tag t(:label_memo_create), :sta => 1, :class => "enterprise"%>

<% end %>