summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/inventory/new_product.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/inventory/new_product.html b/templates/inventory/new_product.html
index c50aaa1..3bba0c6 100644
--- a/templates/inventory/new_product.html
+++ b/templates/inventory/new_product.html
@@ -40,7 +40,7 @@ with the Taler Codeless Merchant. If not, see <https://www.gnu.org/licenses/>.
<input type="text" name="description" id="description" required></input>
<label for="price" class="tooltip">Price<font size="1"><span class="tooltiptext">Enter the price of the product. Remeber to write price in English texts. For Example 100 or 99.95</span></font></label>
- <input type="text" name="price" id="price" required>
+ <input type="number" name="price" id="price"min="0" value="0" step="0.01" title="Currency" pattern="^\d+(?:\.\d{1,2})?$" required>
<label for="starting_inventory" class="tooltip">Starting Inventory<font size="1"><span class="tooltiptext">Enter the number of Inventory initially available for the given product</span></font></label>
<input type="number" name="starting_inventory" id="starting_inventory" required>