<%=raw l(:label_edit_homework)%>
标 题 *: <%= f.text_field :name, :required => true, :name => "homework_name", :size => 60, :style => "width:490px;", :maxlength => 254%>
提交项目 : <% if @homework.project.nil? %> <%= f.select :project_id, options_for_select(user_projects_option),:name => "project_id", :required => true%> <% else %> <%= f.select :project_id, options_for_select(user_projects_option,@homework.project.id),:name => "project_id", :required => true%> <% end %> <%= link_to '创建项目', new_project_path(course: 0, project_type: 0), :target => '_blank' %>
提交项目可以为空
描 述 : <%= f.text_area :description, :rows => 8, :name => "homework_description", :class => 'wiki-edit', :maxlength => 3000, :style => "font-size:small;width:490px;margin-left:10px;" %>
<%= submit_tag t(:label_button_ok), :sta => 0, :class => "enterprise"%>
<% end %>