From 9405698e3c7817b353b31fb7c2c3b4fea2d56783 Mon Sep 17 00:00:00 2001 From: Avi Flax Date: Sun, 11 Dec 2022 11:23:39 -0500 Subject: Two small tweaks to compose UI (#153) --- activities/views/compose.py | 2 ++ 1 file changed, 2 insertions(+) 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?", }, ) -- cgit v1.2.3