diff options
Diffstat (limited to 'templates/referenceListing.hamlet')
-rw-r--r-- | templates/referenceListing.hamlet | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/referenceListing.hamlet b/templates/referenceListing.hamlet index a76e603..414a3ec 100644 --- a/templates/referenceListing.hamlet +++ b/templates/referenceListing.hamlet | |||
@@ -1,6 +1,7 @@ | |||
1 | <div .table> | 1 | <div .table> |
2 | <div .tr .sepBelow> | 2 | <div .tr .sepBelow> |
3 | <div .th>Item | 3 | <div .th>Item |
4 | <div .th>Type | ||
4 | <div .th>Actions | 5 | <div .th>Actions |
5 | $if isJust (preview insertForm =<< formState) | 6 | $if isJust (preview insertForm =<< formState) |
6 | $with Just InsertForm{..} <- formState | 7 | $with Just InsertForm{..} <- formState |
@@ -9,9 +10,10 @@ | |||
9 | <div .td> | 10 | <div .td> |
10 | <button type=submit> | 11 | <button type=submit> |
11 | Insert | 12 | Insert |
12 | $forall Entity referenceId Reference{..} <- reference | 13 | $forall WithType (Entity referenceId Reference{..}) referenceType <- reference |
13 | <div .tr .color ##{toPathPiece referenceId}> | 14 | <div .tr .color ##{toPathPiece referenceId}> |
14 | <div .kind>#{referenceKind} | 15 | <div .kind>#{referenceKind} |
16 | <div .type>#{referenceType} | ||
15 | <form .td method=post action=@{DeleteRefItemR referenceId}> | 17 | <form .td method=post action=@{DeleteRefItemR referenceId}> |
16 | <button type=submit> | 18 | <button type=submit> |
17 | Delete | 19 | Delete |