yammat/templates/selectCash.hamlet
2016-01-30 18:29:45 +01:00

15 lines
449 B
Text

$doctype 5
<h3>_{MsgSelectItem}
$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>