diff options
author | Avi Flax | 2022-12-11 11:23:39 -0500 |
---|---|---|
committer | GitHub | 2022-12-11 09:23:39 -0700 |
commit | 9405698e3c7817b353b31fb7c2c3b4fea2d56783 (patch) | |
tree | e50cea793febd919c714e0d9b31a67c75ba89d8b /activities | |
parent | 602e5a378057f3cd5ca355fd3ed2a17fcc147c72 (diff) | |
download | takahe-9405698e3c7817b353b31fb7c2c3b4fea2d56783.tar.gz takahe-9405698e3c7817b353b31fb7c2c3b4fea2d56783.tar.bz2 takahe-9405698e3c7817b353b31fb7c2c3b4fea2d56783.zip |
Two small tweaks to compose UI (#153)
Diffstat (limited to 'activities')
-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?", }, ) |