record_select_field
<%= form_tag do %> Amount: <%= text_field_tag 'amount' %><br /> Description: <%= text_field_tag 'description' %><br /> User: <%= record_select_field 'user', selected_user || User.new %><br /> <% end %>
record_multi_select_field
<%= form_tag do %> Amount: <%= text_field_tag 'amount' %><br /> Description: <%= text_field_tag 'description' %><br /> User: <%= record_multi_select_field 'user', @current, controlelr: 'users' %><br /> <% end %>
link_to_record_select
<%= link_to_record_select 'Pick A User', 'users', onselect: "alert('You picked ' + label + ', id#' + id);" %>
There was an error while loading. Please reload this page.