Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
sửa thông báo null : địa chỉ , email
Browse files Browse the repository at this point in the history
  • Loading branch information
thson58 committed Mar 10, 2024
1 parent 6e3c6fd commit a6cd857
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions src/main/webapp/view/jsp/management/customer/add-customer.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,23 @@
<div class="mb-3">
<div class="mb-3">
<div class="mb-3">
<label class="form-label" for="address">
<strong>Địa chỉ</strong>
</label>
<input class="form-control" type="text" id="address" placeholder="Nhập địa chỉ của khách hàng" name="address" value="<%= (error != null && customer != null) ? customer.getAddress() : ""%>">
<label class="form-label" for="address">
<strong>Địa chỉ</strong>
</label>
<div class="mb-3 form-group">
<input class="form-control" type="text" id="address-customer" placeholder="Nhập địa chỉ của khách hàng" name="address" >
<span class="form-message text-danger"></span>
</div>
<div class="mb-3">
<label class="form-label" for="email">
<strong>Email</strong>
</label>
<input class="form-control" type="email" id="email" placeholder="Nhập email khách hàng" name="email">
</div>
<div class="mb-3">
<label class="form-label" for="email">
<strong>Email</strong>
</label>
<div class="mb-3 form-group">
<input class="form-control" type="email" id="email-customer" placeholder="Nhập email khách hàng" name="email" >
<span class="form-message text-danger"></span>
</div>
</div>
<%
if(error != null) {
%>
Expand Down

0 comments on commit a6cd857

Please sign in to comment.