use comment instead of title for ranging beacon quest

node id and bssid are useless and confusing for questers
This commit is contained in:
Gwendolyn 2024-12-26 02:56:00 +01:00
parent 85d62d0980
commit 52430bd21d

View file

@ -20,7 +20,7 @@ class RangingBeaconAltitudeQuestForm(ChangeSetModelForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields["altitude"].label = (
_('How many meters above ground is the access point “%s” mounted?') % self.instance.title
_('How many meters above ground is the access point “%s” mounted?') % self.instance.comment
)
def clean_altitude(self):