diff --git a/lostplaces/lostplaces_app/forms.py b/lostplaces/lostplaces_app/forms.py index 6ac307a..9b97388 100644 --- a/lostplaces/lostplaces_app/forms.py +++ b/lostplaces/lostplaces_app/forms.py @@ -51,4 +51,8 @@ class PlaceImageCreateForm(forms.ModelForm): class TagSubmitForm(forms.Form): - tag_list = forms.CharField(max_length=500, required=False) \ No newline at end of file + tag_list = forms.CharField( + max_length=500, + required=False, + widget=forms.TextInput(attrs={'autocomplete':'off'}) + ) \ No newline at end of file diff --git a/lostplaces/lostplaces_app/static/main.css b/lostplaces/lostplaces_app/static/main.css index 8489e0c..fef1375 100644 --- a/lostplaces/lostplaces_app/static/main.css +++ b/lostplaces/lostplaces_app/static/main.css @@ -1472,7 +1472,8 @@ body { line-height: inherit; position: relative; white-space: pre-wrap; - margin-left: 15px; } + margin-left: 15px; + height: 1em; } .tagify__tag__removeBtn { order: 5; diff --git a/lostplaces/lostplaces_app/templates/partials/tagging.html b/lostplaces/lostplaces_app/templates/partials/tagging.html index d9db359..38a274e 100644 --- a/lostplaces/lostplaces_app/templates/partials/tagging.html +++ b/lostplaces/lostplaces_app/templates/partials/tagging.html @@ -3,14 +3,25 @@ {% for tag in tag_list %}