replace skeleton files by previous version; apply obvious fixes

This commit is contained in:
JuliusR 2021-12-18 11:21:51 +01:00
parent 1f5cbcd6d1
commit 2133be2436
35 changed files with 1086 additions and 39 deletions

View file

@ -0,0 +1,23 @@
%h1 Lieferanten
%table
%tr
%th Name
%th Adresse
%th Telefon
%th Liefertage
%th Notiz
%th Zuletzt aktualisiert
%th
- for supplier in @suppliers
%tr
%td= link_to supplier.name, supplier_path(supplier)
%td= supplier.address
%td= supplier.phone
%td= supplier.delivery_days
%td= supplier.note
%td= I18n.l supplier.articles_updated_at rescue nil
%td= link_to supplier.articles.size.to_s + ' Artikel', supplier_articles_url(supplier)
%br/
= link_to 'Neuer Lieferant', new_supplier_url