use filetypes for manual uploading bnn, odin, foodsoft file

This commit is contained in:
viehlieb 2023-01-31 15:26:28 +01:00
parent a92a51d88a
commit db149a7268
2 changed files with 8 additions and 2 deletions

View file

@ -71,9 +71,14 @@
= form_for :articles, :url => parse_upload_supplier_articles_path(@supplier),
:html => { multipart: true, class: "form-horizontal" } do |f|
.control-group
%label(for="articles_file")= t '.file_label'
%label(for="articles_file")
%strong= t '.file_label'
= f.file_field "file"
%label(for="articles_file")
%strong="select the file type you are about to upload"
=f.collection_select :type, ["bnn","foodsoft","odin"], :to_s, :to_s
.control-group
%label(for="articles_outlist_absent")