[openstreetmap/openstreetmap-website] Redaction title can be blank. (#2033)
William Drumheller
notifications at github.com
Wed Oct 24 00:15:04 UTC 2018
@1v0ryh4t and I found that when creating a new redaction under `/redactions/new`, the redaction title is allowed to be blank. When attempting to view said redactions under `/redactions`, the new redaction is not present or viewable under the list as it's title or name is an empty string. I would like to add a validation to a `redaction` so that when creating or editing the `redaction`, the name can never be blank. (This seems like a decent `good-first-issue` for myself.)
Please see the attached images.


All redactions (`/redactions'):

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2033
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181023/9d394db3/attachment.html>
More information about the rails-dev
mailing list