Enlarge shares location list

This commit is contained in:
Gabriel Augendre 2019-03-04 21:22:43 +01:00
parent b2ece8bd78
commit abe8fe1eb8

View file

@ -37,6 +37,9 @@ class LocationSharingForm(forms.ModelForm):
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' self.fields['shares_location_to'].help_text = 'Hold <kbd>Ctrl</kbd> or <kbd>Cmd</kbd> to select multiple users'
self.fields['shares_location_to'].widget.attrs = {
'size': 10,
}
class FriendCreationForm(UserCreationForm): class FriendCreationForm(UserCreationForm):