aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Moderate.pm
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2018-08-17 15:26:17 +0100
committerZarino Zappia <mail@zarino.co.uk>2018-08-20 13:07:53 +0100
commit0caded8cc55ef78d9e65089387e97532566d0182 (patch)
tree74141494d8c1564b3a25d6d709264636fdf61f15 /perllib/FixMyStreet/App/Controller/Moderate.pm
parentf607f2142f7986881d2975dbf682bb825266856d (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