Implement adding new inventory items

This commit is contained in:
2023-08-22 13:14:56 +02:00
parent 32bcb1b18a
commit a2d1d42362
6 changed files with 62 additions and 5 deletions
+3 -1
View File
@@ -339,7 +339,9 @@ viewSearchResult model =
, td [] [ text model.locationName ]
, td [] [ text <| showBool model.available ]
, td []
[ button [ onClick <| GotoItemEditor model ] [ text "Als Vorlage verwenden" ]
[ Html.form [ onSubmit <| GotoItemEditor model ]
[ button [] [ text "Als Vorlage verwenden" ]
]
]
]