Implement adding new inventory items

This commit is contained in:
2023-08-21 19:40:44 +02:00
parent 1f23ebfe2d
commit 29888851e7
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" ]
]
]
]