高校课程实践社区 <%= l(:label_user_location) %> :
<%= link_to request.host()+"/courses", :controller => 'projects', :action => 'course'%>

<%=link_to "主页", home_path %> > <%=link_to l(:label_course_practice), :controller => 'projects', :action => 'course' %> > <%= link_to(@bid.courses.first.name.to_s, homework_project_path(@bid.courses.first)) if @bid.courses.first%> > <%=link_to(@bid.name, respond_path(@bid)) %> > <%= link_to "创建作业", new_homework_attach_path(@bid)%>

<%=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 %>