Merge branch 'rails3' of http://github.com/balkansalat/foodsoft into rails3-show-percent-sign-in-views

This commit is contained in:
Julius 2013-06-07 09:49:32 +02:00
commit ff343933dd
19 changed files with 75 additions and 41 deletions

View file

@ -1,6 +1,6 @@
- title 'Artikel mit externer Datenbank synchronisieren'
= form_tag update_all_supplier_articles_path(@supplier, :sync => "1") do
= form_tag update_synchronized_supplier_articles_path(@supplier) do
%h2 Auslisten ...
%p
- unless @outlisted_articles.empty?
@ -11,6 +11,9 @@
%li
= hidden_field_tag "outlisted_articles[#{article.id}]", '1'
= article.name
- if article.in_open_order
.alert
Achtung, #{article.name} wird gerade in einer laufenden Bestellung verwendet. Bitte erst Bestellung anpassen.
- else
%i Es müssen keine Artikel gelöscht werden.
%hr/