tap/app/views/barcodes/_barcode.html.haml

7 lines
209 B
Text
Raw Normal View History

2015-10-27 22:09:01 +01:00
%tr
%td= barcode.id
%td= barcode.code
%td= barcode.product.name
%td= image_tag barcode.product.avatar(:small)
%td= button_to "Delete", barcode_path(barcode), method: :delete, class: "btn btn-danger"