Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.field
Display Name:
= h @user.name
= link_to "edit", edit_user_url(@user, :field => "name")
.field
Your Email:
= h @user.email
= link_to "edit", edit_user_url(@user, :field => "email")
.field
Password:
= h @user.password_display
= link_to "change password", changepassword_user_url(@user)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.