[openstreetmap/openstreetmap-website] Use Bootstrap collapse to toggle OpenID login form (PR #5006)

Anton Khorev notifications at github.com
Fri Jul 19 17:08:06 UTC 2024


Show form and hide auth buttons with [Bootstrap collapse](https://getbootstrap.com/docs/5.3/components/collapse/) when OpenID is clicked:

![image](https://github.com/user-attachments/assets/73a00695-f522-491d-a969-f57749f6a553)

Allows to remove `.show()` / `.hide()` javascript.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5006

-- Commit Summary --

  * Use Bootstrap collapse to toggle OpenID login form

-- File Changes --

    M app/assets/javascripts/auth_providers.js (9)
    M app/views/application/_auth_providers.html.erb (7)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5006.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5006.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5006
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5006 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240719/7fd37970/attachment.htm>


More information about the rails-dev mailing list