From 147677c866137fa69e021152914ba8f2cd5e3eab Mon Sep 17 00:00:00 2001 From: DSRoden Date: Sat, 30 Aug 2014 19:52:03 -0500 Subject: [PATCH] updated show-bid.jade --- app/views/items/show-bid.jade | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 app/views/items/show-bid.jade diff --git a/app/views/items/show-bid.jade b/app/views/items/show-bid.jade new file mode 100644 index 0000000..fc77237 --- /dev/null +++ b/app/views/items/show-bid.jade @@ -0,0 +1,47 @@ +extends ../shared/template +block content + h2 Bid Page + .row + .col-xs-12 + table.table.table-border + thead Item + tr + th Photo + th Name + th Location + th Description + tbody + tr + td.item-photo(style='background-image:url(#{item.photo})') + td: a(href='/bid/#{item._id}')= item.name + td= item.location + td= item.description + .row + .col-xs-6 + table.table + thead My Wines + tr + th Photo + th Name + th Location + th Description + th Trade + tbody + each biddable in biddableItems + tr + td.biddable-photo(style='background-image:url(#{biddable.photo})') + td: a(href='/bid/#{item._id}')= biddable.name + td= biddable.location + td= biddable.description + td + .radio + label + input(type='radio' name='bid' value='#{biddable._id}') + .row + .col-xs-6 + form(role='form', method='post', action='/marketplace') + button.btn.btn-success(type='submit') MAKE BID + +block scripts + script(src='/js/user/items-index.js') +