<%= form_with(url: '/admins/weapp_banners', html: { id: 'course_form', enctype: 'multipart/form-data' }) do |f| %>
实践课程
<% if @course %>
<% end %>
<%= file_field_tag(:course_banner, accept: 'image/*', style: 'display: none', value: '') %>
<% end %>
<%= form_with(url: '/admins/weapp_banners/shixun_banner', html: { id: 'shixun_form', enctype: 'multipart/form-data' }) do |f| %>
实训项目
<% if @shixun %>
<% end %>
<%= file_field_tag(:shixun_banner, accept: 'image/*', style: 'display: none', value: '') %>
<% end %>