From abe8fe1eb89815d15af19b78d2f1e3f920723b81 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 4 Mar 2019 21:22:43 +0100 Subject: [PATCH] Enlarge shares location list --- map/forms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/map/forms.py b/map/forms.py index e6493a7..a855d11 100644 --- a/map/forms.py +++ b/map/forms.py @@ -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'].label = 'Share location to' self.fields['shares_location_to'].help_text = 'Hold Ctrl or Cmd to select multiple users' + self.fields['shares_location_to'].widget.attrs = { + 'size': 10, + } class FriendCreationForm(UserCreationForm):