From fcd7506181fd9a05effa1f91ef932171e933456d Mon Sep 17 00:00:00 2001
From: guange <8863824@gmail.com>
Date: Tue, 1 Sep 2015 16:33:29 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E4=B8=AA?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/users/_user_homework_form.html.erb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb
index 9b4bfb903..380e30402 100644
--- a/app/views/users/_user_homework_form.html.erb
+++ b/app/views/users/_user_homework_form.html.erb
@@ -18,7 +18,7 @@
-
+
<% if edit_mode %>
<%= f.kindeditor :description, :editor_id => 'homework_description_editor', :height => "150px", :owner_id => homework.id, :owner_type => OwnerTypeHelper::HOMEWORKCOMMON %>
@@ -29,6 +29,7 @@
+
<%= select_tag :course_id, options_for_select(get_as_teacher_courses(User.current), homework.course_id), {:class => "InputBox w720",:value => "请选择发布作业的课程"} %>
@@ -39,6 +40,7 @@
<%= render :partial => 'users/user_homework_attachment', :locals => {:container => homework} %>
+
发送
或
From ccc4d94212acd5120e2018db3701d428850c763f Mon Sep 17 00:00:00 2001
From: guange <8863824@gmail.com>
Date: Wed, 2 Sep 2015 10:27:10 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=88=E5=B9=B6?=
=?UTF-8?q?=E5=87=BA=E9=94=99=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/users/_user_homework_form.html.erb | 3 +--
public/javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js | 7 ++-----
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb
index 380e30402..75b2d7d3d 100644
--- a/app/views/users/_user_homework_form.html.erb
+++ b/app/views/users/_user_homework_form.html.erb
@@ -18,7 +18,7 @@
-
+
<% if edit_mode %>
<%= f.kindeditor :description, :editor_id => 'homework_description_editor', :height => "150px", :owner_id => homework.id, :owner_type => OwnerTypeHelper::HOMEWORKCOMMON %>
@@ -76,7 +76,6 @@
-