Given a select menu with a list of user IDs, how can the ID be passed to the show action?
<%= form_for @conn, user_path(@conn, :show, :user_id), [method: :get], fn f -> %>
<%= select f, :user_id, @users %>
<%= submit "Search" %>
<% end %>
The intent is to redirect to, for example, /users/1, where 1 == :user_id


















