openstreetmap-website/app
Harry Wood fcbccb6a44 Report verification render not redirect
Fix an issue with the report verification, causing it to lose the text of a report if the user fails to fill in a category.

By using a `render` instead of a `redirect_to`, the rails standard verification behaviour works better. It means we also get a nice red "can't be blank" message highlighting the specific missing field.
2022-05-04 19:42:36 +01:00
..
abilities Allow users to delete their own accounts 2022-02-09 16:15:24 +00:00
assets Fix eslint warning 2022-04-18 14:23:02 +01:00
controllers Report verification render not redirect 2022-05-04 19:42:36 +01:00
helpers Fix Lint/DuplicateBranch rubocop warnings 2022-03-08 19:05:37 +00:00
jobs Prefer string interpolation to concatenation 2020-11-13 11:32:28 +00:00
mailers Fix downloading of image variants 2021-05-19 18:44:41 +01:00
models Format report text with kramdown 2022-04-29 01:31:39 +01:00
validators Use .add method for adding errors 2021-03-17 17:09:34 +00:00
views Add kramdown info box with preview button 2022-04-29 01:33:18 +01:00