diff --git a/app/views/courses/index.html.erb b/app/views/courses/index.html.erb index 43c0c72..ec0bafa 100644 --- a/app/views/courses/index.html.erb +++ b/app/views/courses/index.html.erb @@ -57,13 +57,11 @@ <%= form_for course, url: excel_in_course_path(course) , html: {class: 'form-horizontal', role: 'form'} do |f| %>
-
- <%= f.file_field :excel ,class: 'btn btn-xs btn-info'%> + <%= f.file_field :excel %> <%= f.hidden_field :excel_cache %> <%= f.submit '提交', class: 'btn btn-success' %>
-
<% end %>