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

<%= f.text_field "name", :required => true, :size => 60, :class => "w430 bo", :maxlength => 254, :placeholder => "作品名称" %>

<%= f.select :project_id,options_for_select(user_projects_option), {},{:class => "w350 bo"} %>

<%= f.text_area "description", :class => "w620", :maxlength => 3000, :placeholder => "最多3000个汉字" %>

<%= l(:label_attachment_plural) %>

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

                       <%= l(:label_button_ok) %>

<% end %>