foodsoft/app/views/articles/upload.html.haml

19 lines
844 B
Text
Raw Normal View History

- title "#{@supplier.name} / Artikel hochladen"
2009-01-06 11:49:19 +01:00
%p
%i
=_ 'The file-type must be "csv" (textfile). Use a semicolon (";") to seperate the fields and double quotes ("Bananas...") for the text.'
%br/
=_ 'The character-set has to be "UTF-8". The first row, maybe used for headers, will be ignored.'
%p
%i
=_ "Correct order of the columns:"
%br/
= [_("Status (x=outlistet)"), _("Number"), _("Name"), _("Note"), _("Manufacturer"), _("Origin"), |
_("Unit"), _("Net price"), _("Tax"), _("Deposit"), _("Unit quantity"), |
_("Scale quantity"), _("Scale price"), _("Category")].join(" | ") |
#uploadArticles.uploadForm
- form_for(:articles, :url => parse_upload_supplier_articles_path(@supplier), :html => { :multipart => true }) do |form|
2009-01-06 11:49:19 +01:00
%p= form.file_field("file")
%p= submit_tag _("Upload articles")