_form_add_files.html.erb 315 Bytes
Newer Older
ira.maier's avatar
ira.maier committed
1
 <%= form_with model: @sample do |f| %>
ira.maier's avatar
ira.maier committed
2
   <div style="text-align: right">
3
4
    <%= f.file_field :add_files, multiple: true, direct_upload: true, class: "file_storage_button", style: "float: right; width: 70%" %>
    <%= f.submit "Add Files", class: "file_storage_button", style: "width: 70%"%>
ira.maier's avatar
ira.maier committed
5
6
   </div>
  <% end %>