Skip to content

Commit

Permalink
Postcode form now fills with postcode instead of name (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
simlar-0 authored Feb 29, 2024
1 parent 746ea31 commit 14b240f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/flaskr/templates/admin/edit_customer_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h4 class="text-dark py-4">Edit profile</h4>
<input class="form-control form-control-user" type="address" id="city" name="city" placeholder="City" value="{{user.city}}" required />
</div>
<div class="col-sm-6">
<input class="form-control form-control-user" type="address" id="postcode" name="postcode" placeholder="Postcode" value="{{user.name}}" required />
<input class="form-control form-control-user" type="address" id="postcode" name="postcode" placeholder="Postcode" value="{{user.postcode}}" required />
</div>
</div>
<div class="row mb-3">
Expand Down
2 changes: 1 addition & 1 deletion app/flaskr/templates/customer/edit_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h4 class="text-dark py-4">Edit profile</h4>
<input class="form-control form-control-user" type="address" id="city" name="city" placeholder="City" value="{{user.city}}" required />
</div>
<div class="col-sm-6">
<input class="form-control form-control-user" type="address" id="postcode" name="postcode" placeholder="Postcode" value="{{user.name}}" required />
<input class="form-control form-control-user" type="address" id="postcode" name="postcode" placeholder="Postcode" value="{{user.postcode}}" required />
</div>
</div>
<div class="mb-3">
Expand Down

0 comments on commit 14b240f

Please sign in to comment.