summaryrefslogtreecommitdiff
path: root/templates/inventoryListing.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/inventoryListing.hamlet')
-rw-r--r--templates/inventoryListing.hamlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/inventoryListing.hamlet b/templates/inventoryListing.hamlet
index 7c2c06b..be80993 100644
--- a/templates/inventoryListing.hamlet
+++ b/templates/inventoryListing.hamlet
@@ -13,9 +13,9 @@
13 <button type=submit> 13 <button type=submit>
14 Insert 14 Insert
15 $forall Entity itemId Item{..} <- stock 15 $forall Entity itemId Item{..} <- stock
16 $if Just itemId == (preview updateItem =<< formState) 16 $if Just itemId == (preview updateId =<< formState)
17 $with Just UpdateForm{..} <- formState 17 $with Just UpdateForm{..} <- formState
18 <form .tr .color action=@{UpdateItemR fsUpdateItem}##{toPathPiece fsUpdateItem} method=post enctype=#{fsUpdateEncoding} ##{toPathPiece fsUpdateItem}> 18 <form .tr .color action=@{UpdateItemR fsUpdateId}##{toPathPiece fsUpdateId} method=post enctype=#{fsUpdateEncoding} ##{toPathPiece fsUpdateId}>
19 ^{fsUpdateForm} 19 ^{fsUpdateForm}
20 <div .td> 20 <div .td>
21 <button type=submit> 21 <button type=submit>