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

7 lines
209 B
Plaintext
Raw Normal View History

2015-10-27 21:09:01 +00: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"