From 7d93a4e4aa8bc1e8262191d676536c9614dbb556 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Tue, 11 Nov 2014 08:38:58 +0800 Subject: [PATCH] Merge branch 'szzh' of http://repository.trustie.net/xianbo/trustie2 into szzh Conflicts: app/models/user.rb app/views/courses/_course_form.html.erb db/schema.rb --- app/views/courses/_course_form.html.erb | 36 +++++++++++++------------ 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/app/views/courses/_course_form.html.erb b/app/views/courses/_course_form.html.erb index 305b6fa19..b722956e8 100644 --- a/app/views/courses/_course_form.html.erb +++ b/app/views/courses/_course_form.html.erb @@ -58,21 +58,27 @@
- <%= l(:label_class_period) %> - <%= l(:label_class_period) %> - * - <%= l(:label_class_period) %> - * - - - <%= text_field_tag :class_period, nil, :placeholder => "#{l(:lable_input_class)}", :maxlength => 5 %> + <%= l(:label_class_period) %> + + <%= l(:label_class_period) %> + + * + + + + <%= l(:label_class_period) %> + + * + + + + <%= text_field_tag :class_period, nil, :placeholder => "#{l(:lable_input_class)}", :maxlength => 5 %> + + + <%= l(:label_class_hour) %> + - <%= l(:label_class_hour) %> - <%= l(:label_class_hour) %> - - <%= l(:label_class_hour) %> - |
- <%= l(:label_term) %> * <%= l(:label_term) %> * @@ -96,7 +101,6 @@ <%= select_tag :time,options_for_select(course_time_option,@course.time), {} %> | - <%= select_tag :term,options_for_select(course_term_option,@course.term),{} %> <%= select_tag :term,options_for_select(course_term_option,@course.term || cur_course_term),{} %> |
-
- <%= l(:text_command) %> <%= l(:text_command) %>