[openstreetmap/openstreetmap-website] Use a form builder for bootstrap forms (#2654)

Tobias notifications at github.com
Wed Jul 1 19:59:42 UTC 2020


> @tordans do you have any experience with custom inputs like this?

Personally, no. But I asked a friend / dev at betterplace_org about it. 

_His reply (translated by me):_ simple_form is indeed a good fit for this use case. We used it to add custom color fields and a custom [trix](https://github.com/basecamp/trix) field. bootstrap_form is not ideal and not meant to be for this use case. Using a custom form builder is possible but not really great to work with (as you said, clunky). Maybe a simple partial will to the job for a while; but that depends on how often you use it and how much config you need.


-- 
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/2654#issuecomment-652618048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200701/b9d34dea/attachment.htm>


More information about the rails-dev mailing list