2020-05-31 22:38:19 +02:00
|
|
|
<%= bootstrap_form_for model, layout: :inline, remote: true do |form| %>
|
2020-06-18 16:56:11 +02:00
|
|
|
<%= form.file_field :files, direct_upload: true, multiple: true, accept: "*", hide_label: true, required: true, wrapper_class: "w-65 mr-2", id: "broadcast_files_#{token}" %>
|
2020-05-31 22:38:19 +02:00
|
|
|
<%= form.button fa_icon("upload", text: "Add File"), class: "btn btn-primary", type: :submit, data: { disable_with: fa_icon("spinner", text: "Adding File") } %>
|
|
|
|
|
<% end %>
|