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

25 lines
949 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'),
t('simple_form.labels.defaults.order_number'),
t('simple_form.labels.article.name'),
t('simple_form.labels.article.note'),
t('simple_form.labels.article.manufacturer'),
t('simple_form.labels.article.origin'),
t('simple_form.labels.article.unit'),
t('simple_form.labels.defaults.price'),
t('simple_form.labels.defaults.tax'),
t('simple_form.labels.defaults.deposit'),
t('simple_form.labels.defaults.unit_quantity'),
t('.fields.season_amount'),
t('.fields.season_price'),
t('simple_form.labels.article.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
2013-03-22 00:20:30 +01:00
= submit_tag t('.submit'), class: 'btn'