Add help text to sharing form
This commit is contained in:
parent
6abb55fa93
commit
b2ece8bd78
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ class LocationSharingForm(forms.ModelForm):
|
||||||
self.request = request
|
self.request = request
|
||||||
self.fields['shares_location_to'].queryset = Friend.objects.exclude(pk=request.user.pk)
|
self.fields['shares_location_to'].queryset = Friend.objects.exclude(pk=request.user.pk)
|
||||||
self.fields['shares_location_to'].label = 'Share location to'
|
self.fields['shares_location_to'].label = 'Share location to'
|
||||||
|
self.fields['shares_location_to'].help_text = 'Hold <kbd>Ctrl</kbd> or <kbd>Cmd</kbd> to select multiple users'
|
||||||
|
|
||||||
|
|
||||||
class FriendCreationForm(UserCreationForm):
|
class FriendCreationForm(UserCreationForm):
|
||||||
|
|
Loading…
Reference in a new issue