diff options
Diffstat (limited to 'activities/views')
-rw-r--r-- | activities/views/compose.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activities/views/compose.py b/activities/views/compose.py index 583d6d3..3c2e3a8 100644 --- a/activities/views/compose.py +++ b/activities/views/compose.py @@ -27,6 +27,8 @@ class Compose(FormView): text = forms.CharField( widget=forms.Textarea( attrs={ + "autofocus": "autofocus", + "maxlength": Config.lazy_system_value("post_length"), "placeholder": "What's on your mind?", }, ) |