add suppliers/lists ui styling and security fixes

This commit is contained in:
2012-09-07 15:19:02 +02:00
parent 2be6c0ee03
commit 76424f972f
33 changed files with 773 additions and 22 deletions
-19
View File
@@ -1,19 +0,0 @@
.page-header= title t('supplier.lists.show.title', list: List.model_name.human)
dl.dl-horizontal
dt= List.human_attribute_name(:created_at)
dd= l @list.created_at, format: :short
.well
table#list-table.table
thead
tr
th= Order.model_name.human
th.currency= Product.human_attribute_name(:price)
tbody
tr
td colspan=2 = slider_image
tfoot
- content_for :footer do
javascript:
jQuery(function(){
Qsupplier.load_list('#{@list.id}');
})