This commit is contained in:
stormand 2017-01-05 16:53:39 +08:00
parent d562a701f9
commit 14a9b23b75
1 changed files with 2 additions and 2 deletions

View File

@ -56,15 +56,15 @@
<td><%= form_for course, url: excel_in_course_path(course) , html: {class: 'form-horizontal', role: 'form'} do |f| %>
<div class="form-group">
<%= f.label "上传文件", class: 'col-sm-3 control-label' %>
<div class="col-sm-3">
<div class="input-group">
<%= f.file_field :excel %>
<%= f.hidden_field :excel_cache %>
<%= f.submit '提交', class: "btn btn-success btn-block" %>
</div>
</div>
</div>
<%= f.submit '提交', class: "btn btn-success btn-block" %>
<% end %></td>