From 62bcccedea8cd24b20f47952133f067d59b43489 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Fri, 4 Jul 2014 14:04:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E4=BD=9C=E4=B8=9A=E6=97=B6?= =?UTF-8?q?=E7=BB=99=E5=BF=85=E5=A1=AB=E9=A1=B9=E6=B7=BB=E5=8A=A0*?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/homework_attach/edit.html.erb | 6 +++--- app/views/homework_attach/new.html.erb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/homework_attach/edit.html.erb b/app/views/homework_attach/edit.html.erb index 985ccfdf..9a33ea99 100644 --- a/app/views/homework_attach/edit.html.erb +++ b/app/views/homework_attach/edit.html.erb @@ -42,11 +42,11 @@
<%= form_for(@homework) do |f|%>

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

- 提交项目: + 提交项目  : <% if @homework.project.nil? %> <%= f.select :project_id, options_for_select(user_projects_option),:name => "project_id", :required => true%> <% else %> @@ -57,7 +57,7 @@

提交项目可以为空

- 描      述:  + 描      述  :  <%= f.text_area :description, :rows => 8, :name => "homework_description", :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %> diff --git a/app/views/homework_attach/new.html.erb b/app/views/homework_attach/new.html.erb index 9c594835..9f0b69f5 100644 --- a/app/views/homework_attach/new.html.erb +++ b/app/views/homework_attach/new.html.erb @@ -23,17 +23,17 @@ :bid_id => @bid }) do |f|%>

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

- 提交项目: + 提交项目  : <%= f.select :project_id, options_for_select(user_projects_option),:name => "project_id", :required => true, :style => "width:490px;"%> <%= link_to '创建项目', new_project_path(course: 0, project_type: 0), :target => '_blank' %>

提交项目可以为空

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