"code line 44"

This commit is contained in:
chanthasuon 2020-04-30 16:51:19 +07:00
parent 512f4b6408
commit 39f215b9b3

View File

@ -38,7 +38,7 @@
<div class="modal-body">
<form class="user" id="frmProductAdd" th:action="@{/admin/product/add}" th:object="${product}" enctype="multipart/form-data" method="POST">
<div class="form-group">
<input type="text" class="form-control" id="name" name="name" placeholder="Product..." required pattern="[A-Za-z]">
<input type="text" class="form-control" id="name" name="name" placeholder="Product..." required pattern="{5}">
</div>
<div class="form-group">
<input type="text" class="form-control" id="price" name="price" placeholder="Price" required pattern="[0-9]+(\.[0-9]{1,2})?%?">