Handle errors in upload and sync form

This commit is contained in:
wvengen 2015-04-03 15:53:08 +02:00
parent 18cc105c1e
commit 6ce1b7f928
6 changed files with 61 additions and 38 deletions

View file

@ -1,6 +1,7 @@
- title t('.title', supplier: @supplier.name)
= form_tag update_synchronized_supplier_articles_path(@supplier) do
= hidden_field_tag :from_action, 'parse_upload'
= render 'sync'
.form-actions
= submit_tag t('.submit'), class: 'btn btn-primary'