foodcoop-adam/foodsoft

View on GitHub
app/views/stock_takings/_stock_article_form.html.haml

Summary

Maintainability
Test Coverage
- simple_form_for stock_article, url: add_stock_article_stock_takings_path, remote: true do |f|
  = f.association :supplier
  = f.input :name
  = f.input :unit
  = f.input :note
  = f.input :price
  = f.input :tax, :wrapper => :append do
    = f.input_field :tax
    %span.add-on %
    -# untested, because this view is currently not included (?)
  = f.input :deposit
  = f.association :article_category
  = f.submit