[openstreetmap/openstreetmap-website] Add sorting and filtering functionality to user notes page (PR #5255)
Emin Kocan
notifications at github.com
Wed Oct 16 13:11:27 UTC 2024
@kcne commented on this pull request.
> <% else %>
+ <%= form_tag(url_for("controller" => "notes", "action" => "index"), "method" => :get, "data" => { "turbo" => true, "turbo-frame" => "pagination", "turbo-action" => "advance" }) do %>
+ <div class="row gx-2">
+ <div class="col-md-auto mb-3">
+ <%= label_tag :status, t(".status") %>
+ <%= select_tag :status,
+ options_for_select([[t(".all"), "all"], [t(".open"), "open"], [t(".closed"), "closed"]], params[:status]),
+ :include_blank => t(".select_status"),
+ :class => "form-select" %>
+ </div>
+ <div class="col-md-auto mb-3">
+ <%= label_tag :note_type, t(".note_type") %>
You're right. I've renamed that into interaction type which is a better naming for this.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5255#discussion_r1803076747
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5255/review/2372427975 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241016/6acf3bf6/attachment.htm>
More information about the rails-dev
mailing list