Skip to content

Commit

Permalink
min bid no longer printed on label by default
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 7, 2024
1 parent f01b511 commit 98e25b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auctions/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def __init__(self, *args, **kwargs):
self.fields["summernote_description"].help_text = ""
if self.auction.reserve_price == "disable":
self.fields["reserve_price"].widget = HiddenInput()
self.fields["reserve_price"].initial = self.auction.minimum_bid
if self.auction.reserve_price == "required":
self.fields["reserve_price"].required = True
if self.auction.buy_now == "disable":
Expand Down

0 comments on commit 98e25b1

Please sign in to comment.