<%=raw l(:label_new_homework)%>

<%= form_for(@homework) do |f|%>

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

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

<% options = {:author => true, :deletable => attach_delete(@homework)} %> <%= render :partial => 'attachments/links', :locals => {:attachments => @homework.attachments, :options => options} %>

<%= l(:label_attachment_plural) %>

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

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

<% end %>