Skip to main content

Putting SignIn and SignUp in single page using devise rails

Rails • Asked by Earl Greenwood

Is it possible to have sign in and sign up forms on the same page,and after sign in or sign up redirect to the index page?like twitter or facebook?


Hey Earl!

You can put the sign in and sign up forms anywhere you want (including on every page if you wanted it as a modal or something). Check these links out:

https://github.com/plataformatec/devise/wiki/How-To:-Display-a-custom-sign_in-form-anywhere-in-your-app
http://stackoverflow.com/a/17001874/277994



Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.