From 38157e560eb1524f584e4f3b01199a7883b19551 Mon Sep 17 00:00:00 2001
From: whimlex
-
+
<%= l(:label_class_period) %>
*
@@ -118,7 +118,7 @@
-
+
<%= l(:text_command) %>
<% end %>
diff --git a/app/views/courses/new.html.erb b/app/views/courses/new.html.erb
index 77f041322..b9422ba64 100644
--- a/app/views/courses/new.html.erb
+++ b/app/views/courses/new.html.erb
@@ -6,7 +6,7 @@
<%= labelled_form_for @course do |f| %>
<%= render :partial => 'course_form', :locals => { :f => f } %>
-
+
<%= submit_tag l(:button_create), :class => "enterprise"%>
diff --git a/app/views/files/_attachement_list.html.erb b/app/views/files/_attachement_list.html.erb
index f65ba8d41..85739f7c3 100644
--- a/app/views/files/_attachement_list.html.erb
+++ b/app/views/files/_attachement_list.html.erb
@@ -22,7 +22,7 @@
-
+
<%= file_field_tag 'attachments[dummy][file]',
:id => '_file',
:class => 'file_selector',
diff --git a/app/views/files/_upload_show.html.erb b/app/views/files/_upload_show.html.erb
index 13bcd043e..65a662f10 100644
--- a/app/views/files/_upload_show.html.erb
+++ b/app/views/files/_upload_show.html.erb
@@ -1,15 +1,15 @@
- 上传资源+<%= l(:label_upload_files)%>
<%= error_messages_for 'attachment' %>
- 确 认
- 取 消
+ <%= l(:button_confirm)%>
+ <%= l(:button_cancel)%>
<% end %>
diff --git a/app/views/welcome/_search_course.html.erb b/app/views/welcome/_search_course.html.erb
index c3bbd46d8..895f696fb 100644
--- a/app/views/welcome/_search_course.html.erb
+++ b/app/views/welcome/_search_course.html.erb
@@ -47,7 +47,7 @@ form #search_type{
<%#完了把上面东西放到 .css 里%>
<%= form_tag({controller: :welcome, action: :search }, method: :get) do %>
-
+
<%= form_tag(course_files_path(course), :multipart => true,:remote => true,:method => :post,:name=>"upload_form") do %>
-
+
<%= render :partial => 'attachement_list',:locals => {:course => course} %>
-
+ |