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

21 lines
531 B
Text

$doctype 5
<h3>
_{MsgRestock}
$forall (Entity bId bev) <- beverages
<article .article>
$if isNothing (beverageAvatar bev)
<a href="@{UpstockR bId}">
<p>#{beverageIdent bev}
$else
<a href="@{UpstockR bId}" style="background-image: url(@{GetAvatarR $ fromJust $ beverageAvatar bev})" .avatar>
<p>#{beverageIdent bev}
<article .article #func>
<a href=@{NewArticleR}>
<p>
_{MsgAddItem}
<form action=@{RestockBarcodeR} method=GET>
<input type=hidden #barcodeInput name=barcode>