Simplifiying balancing view part 2. Lets call it finished.

This commit is contained in:
benni 2012-07-27 18:03:46 +02:00
parent dc0d1b3e46
commit af3c07f031
26 changed files with 185 additions and 219 deletions

View file

@ -1,7 +1,6 @@
%h2 Artikel aktualisieren
= form_for [:finance, @order, @order_article], remote: true do |form|
= @order_article.errors.try(:full_messages)
%table
%tr
%th Name

View file

@ -2,5 +2,5 @@
Neuer gelieferter Artikel die Bestellung
= simple_form_for [:finance, @order, @order_article], remote: true do |form|
= form.input :article_id, as: :select, collection: @order.supplier.articles.order(:name)
= form.input :article_id, as: :select, collection: new_order_articles_collection
= form.submit