style changes and refactoring

This commit is contained in:
2012-09-03 12:09:35 +02:00
parent 81a2423f6b
commit 39449f240a
36 changed files with 527 additions and 159 deletions
@@ -24,3 +24,5 @@ div.page-header= title :index, model_class
.form-actions
= link_to t("helpers.links.new"), new_suppliers_table_path, class: 'btn btn-primary'
'
= link_to t('supplier.tables.qr_codes.link'), qr_codes_suppliers_tables_path, class: 'btn btn-info'
@@ -0,0 +1,3 @@
ul#qr-list
- for table in @tables
li= image_tag(url_for(table_qr_image_path(table_id: table.id, format: :png)))