<%= form_with(url: '/admins/weapp_banners', html: { id: 'course_form', enctype: 'multipart/form-data' }) do |f| %>
实践课程
<% if @course %>
 ? Util::FileManage.source_disk_file_url(@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 %>
 ? Util::FileManage.source_disk_file_url(@shixun) : '' %>)
<% end %>
<%= file_field_tag(:shixun_banner, accept: 'image/*', style: 'display: none', value: '') %>
<% end %>