summaryrefslogtreecommitdiff
path: root/templates/inventoryListing.hamlet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/inventoryListing.hamlet')
-rw-r--r--templates/inventoryListing.hamlet5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/inventoryListing.hamlet b/templates/inventoryListing.hamlet
index 797bd81..cc1c9ce 100644
--- a/templates/inventoryListing.hamlet
+++ b/templates/inventoryListing.hamlet
@@ -6,6 +6,7 @@
6 <div .th>Bought 6 <div .th>Bought
7 <div .th>Expires 7 <div .th>Expires
8 <div .th>Opened 8 <div .th>Opened
9 <div .th>Status
9 <div .th>Actions 10 <div .th>Actions
10 $if isJust (preview insertForm =<< formState) 11 $if isJust (preview insertForm =<< formState)
11 $with Just InsertForm{..} <- formState 12 $with Just InsertForm{..} <- formState
@@ -52,6 +53,10 @@
52 <button type=submit> 53 <button type=submit>
53 Open 54 Open
54 <div .td> 55 <div .td>
56 <ul .status>
57 $if itemRunningLow
58 <li>Running low
59 <div .td>
55 <form method=get action=@{UpdateItemR itemId}##{toPathPiece itemId}> 60 <form method=get action=@{UpdateItemR itemId}##{toPathPiece itemId}>
56 <button type=submit> 61 <button type=submit>
57 Edit 62 Edit