Created
September 1, 2016 07:41
-
-
Save viktor-shmigol/63015b4aa950c6171a72e7cd4e8d6cbf 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
= select :user, :type, options_for_select(User::TYPES, selected: user.type), {}, data: { remote: true, url: admin_user_path(user.id, type: params[:type]), method: :put } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment