编辑作品

<%= labelled_form_for @work do |f|%>

项目信息

<%= f.select :project,options_for_select(user_projects_option,@work.project_id), {},{:class => "bo02 mb10"} %>

<%= render :partial => 'attachments/new_form',:locals => {:container => @work} %>

提交作品 <%= link_to "返  回".html_safe, student_work_index_path(:homework => @homework), :class => "blue_btn grey_btn fl c_white"%>

<% end%>