yammat/templates/selectCash.hamlet

16 lines
449 B
Plaintext
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
2015-04-09 22:40:58 +00:00
<h3>_{MsgSelectItem}
2015-04-04 04:46:33 +00:00
$forall (Entity bId bev) <- beverages
<article .article>
$if beverageAvatar bev /= Nothing
<a href=@{BuyCashR bId} style="background-image: url(@{GetAvatarR $ fromJust $ beverageAvatar bev})" .avatar>
<p>#{beverageIdent bev}
$else
<a href=@{BuyCashR bId}>
<p>#{beverageIdent bev}
<form action=@{SelectCashBarcodeR} method=GET>
<input type=hidden #barcodeInput name=barcode>