foodsoft/app/views/suppliers/_form.haml

19 lines
513 B
Text
Raw Normal View History

2011-05-18 15:52:06 +02:00
- simple_form_for @supplier do |f|
- if @supplier.shared_supplier
%p Lieferantin wird mit externer Datenbank verknüpft.
= f.hidden_field :shared_supplier_id
= f.input :name
= f.input :address
= f.input :phone
= f.input :phone2
= f.input :fax
= f.input :email
= f.input :url
= f.input :contact_person
= f.input :customer_number
= f.input :delivery_days
= f.input :order_howto
= f.input :note
= f.input :min_order_quantity
= f.submit
= link_to 'oder abbrechen', suppliers_path