[openstreetmap/openstreetmap-website] Language selection enhancements (PR #6412)
mmd
notifications at github.com
Wed Sep 24 18:38:11 UTC 2025
@mmd-osm commented on this pull request.
> - <% end %>
- <% else %>
- <%= render "layouts/select_language_list" %>
- <% end %>
+ <div class="mb-3 px-2">
+ <%= text_field_tag :language_search,
+ params[:language_search],
+ :placeholder => t("languages_panes.select_language_list.search_language", :default => "Search..."),
+ :autocomplete => "off",
+ :dir => "auto",
+ :class => "form-control py-2 px-3" %>
+ </div>
+ <turbo-frame id="select_language_list" src="<%= languages_pane_path %>?source=<%= ERB::Util.url_encode(request.fullpath) %>" loading="lazy">
+ <div class="text-center py-3">
+ <div class="spinner-border text-secondary" role="status">
+ <span class="visually-hidden">Loading...</span>
added now...
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6412#discussion_r2376725279
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6412/review/3264206017 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250924/4532832c/attachment.htm>
More information about the rails-dev
mailing list