Created
January 12, 2021 09:41
-
-
Save stefanozanella/ca41f07a75bbaffaf3c45da40ec7f7ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Add stock purchase</title> | |
</head> | |
<body> | |
<h2>Add a stock purchase</h2> | |
<form method="post" th:action="@{/stock_purchase}" th:object="${stockPurchase}"> | |
<p> | |
<label for="ticker">Stock symbol</label> | |
<input type="text" id="ticker" th:field="*{ticker}"> | |
<label for="purchaseDate">When was the stock purchased?</label> | |
<input type="date" id="purchaseDate" th:field="*{purchaseDate}"> | |
</p> | |
<p> | |
<input type="submit" value="Add"> | |
</p> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment