Make described checkboxes a lot more clear
authorMagnus Hagander <magnus@hagander.net>
Sat, 4 Jul 2020 12:53:04 +0000 (14:53 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 4 Jul 2020 12:54:06 +0000 (14:54 +0200)
commitfee3746ea02051b3ec47646f92a91a20e1d263d2
treea5ed2c67a3fa113197a00c58d76d711bcacb5185
parent8de373269005b0bd2b9c0f777bdc8de306bd7c48
Make described checkboxes a lot more clear

Instead of a weirdly located "hover over the checkbox to get a
description" message, put the actual description underneath the
checkboxes. This removes the need for javascript for it, and make the
description a lot more readily available.

This applies only to news tags for now, since that's the only use of
described checkboxes, but hopefully it will make those more clear to
people submitting.

In passing, fix how help_text for multi-checkbox field is shown -- it
was previously shown almost as part of the field name itself, making it
very hard to make out. Now make it look like all other form field help
texts.
media/css/main.css
media/js/forms.js
pgweb/news/migrations/0003_news_tags.py
pgweb/news/models.py
templates/base/form_contents.html