diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2018-08-17 15:26:17 +0100 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2018-08-20 13:07:53 +0100 |
commit | 0caded8cc55ef78d9e65089387e97532566d0182 (patch) | |
tree | 74141494d8c1564b3a25d6d709264636fdf61f15 /perllib/FixMyStreet/App/Controller/Moderate.pm | |
parent | f607f2142f7986881d2975dbf682bb825266856d (diff) |
Make it easier to prevent a form_detail_placeholder being printed
Previously, if you didn’t want a hint to appear under the main "details"
textarea on the new report form, you had to override the entire
`form_report.html` template, or leave the hint element in the markup but
hide it with CSS.
Now, you can set `form_detail_placeholder` to a falsey value, and the
template won’t output the hint element at all. It also amends the
`aria-describedby` attribute on the textarea so it doesn’t end up
referencing a hint element that doesn’t exist.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Moderate.pm')
0 files changed, 0 insertions, 0 deletions