<%= semantic_form_for @asset_source, remote: true, multipart: true do |f| %>
<%= f.inputs do %>
<%= icon('cloud-upload') %> Upload files
<%= f.attachment_field :assets_files, multiple: true, direct: true, presigned: true %>
<%= f.action :submit, label: 'Upload All', button_html: { style: 'display:none;' } %>
<% end %>
<% end %>
<%= semantic_form_for 'Asset', as: "assets", url: batch_destroy_assets_path, remote: true do |f| %>
<%= f.action :submit, label: 'Delete Selected', button_html: { id: "delete_selected_assets", class: 'btn btn-danger', style: "display:none;" } %>
<%= content_tag :table, id: "assets", class: "table table-striped responsive no-wrap display", data: { source: "#{ assets_url(format: "json") }" } do %>