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

26 lines
1003 B
Plaintext
Raw Normal View History

2013-03-22 00:20:30 +01:00
- title t('.title', supplier: @supplier.name)
= t('.body').html_safe
%pre
= [t('.fields.status'),
Article.human_attribute_name(:order_number),
Article.human_attribute_name(:name),
Article.human_attribute_name(:note),
Article.human_attribute_name(:manufacturer),
Article.human_attribute_name(:origin),
Article.human_attribute_name(:unit),
Article.human_attribute_name(:price),
Article.human_attribute_name(:tax),
Article.human_attribute_name(:deposit),
Article.human_attribute_name(:unit_quantity),
2014-06-05 00:11:14 +02:00
t('.fields.reserved'),
t('.fields.reserved'),
Article.human_attribute_name(:article_category)].join(" | ")
2009-01-06 11:49:19 +01:00
2012-10-28 18:03:50 +01:00
= form_for :articles, :url => parse_upload_supplier_articles_path(@supplier),
:html => { :multipart => true } do |f|
2013-03-22 00:20:30 +01:00
%label(for="articles_file")= t '.file_label'
2012-10-28 18:03:50 +01:00
= f.file_field "file"
.form-actions
2015-03-27 14:38:16 +01:00
= submit_tag t('.submit'), class: 'btn btn-primary'
= link_to t('ui.or_cancel'), supplier_articles_path(@supplier)