Two small tweaks to compose UI (#153)

This commit is contained in:
Avi Flax 2022-12-11 11:23:39 -05:00 committed by GitHub
parent 602e5a3780
commit 9405698e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ class Compose(FormView):
text = forms.CharField( text = forms.CharField(
widget=forms.Textarea( widget=forms.Textarea(
attrs={ attrs={
"autofocus": "autofocus",
"maxlength": Config.lazy_system_value("post_length"),
"placeholder": "What's on your mind?", "placeholder": "What's on your mind?",
}, },
) )