General usability
This commit is contained in:
@@ -8,6 +8,5 @@ html lang="en"
|
||||
= csrf_meta_tags
|
||||
= stylesheet_link_tag "qr_sheet/application", :media => "all"
|
||||
link href="/favicon.ico" rel="shortcut icon"
|
||||
|
||||
body
|
||||
= yield
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
ul#qr-list
|
||||
- for table in @tables
|
||||
li= image_tag(url_for(table_qr_image_path(table_id: table.id, format: :svg)))
|
||||
- if @tables.any?
|
||||
ul#qr-list
|
||||
- for table in @tables
|
||||
li= image_tag(url_for(table_qr_image_path(table_id: table.id, format: :svg)))
|
||||
- else
|
||||
h3= t('supplier.table.add_tables_first.title')
|
||||
p= t('supplier.table.add_tables_first.body')
|
||||
|
||||
Reference in New Issue
Block a user