@mmd-osm commented on this pull request.
> <button type="button" class="btn-close" data-bs-dismiss="modal"
> aria-label="<%= t "javascripts.close" %>"></button>
</div>
<div class="modal-body px-1">
- <% if current_user&.id %>
- <%= form_tag basic_preferences_path, :method => "PUT" do %>
- <%= hidden_field_tag "referer", request.fullpath %>
- <%= hidden_field_tag "language", I18n.locale %>
- <%= render "layouts/select_language_list" %>
- <% 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..."),
> it depends on if the form stays here
Right, I wanted to keep all translations in the same place, also anticipating
that we will move the form again.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6412#discussion_r2376598584
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6412/review/3264035...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev