Created
June 3, 2020 19:11
-
-
Save staycreativedesign/17e9c66ef06326478d7167c9d3012354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= form_tag "/admin/users/#{:id}/edit", method: :get do | |
.row | |
.col-sm-12.col-md-9 | |
= select_tag :id, options_from_collection_for_select(User.all, 'id', 'name',{ prompt: 'Find User' }), class: 'form-control select2' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment