Rails – Customize Devise’s Views

Last time we have talked about how to install Devise in Rails.
Rails – Setup Devise for Rails

Now we want to customize the Devise’s views.

Overriding the default Devise’s views is simple and straight forward, what we need to do is just generate those views in our app/views folder by the following single command.

  • rails g devise:views

 

The following views are generated.

 

You can now customize the views listed above.

Done =)

Reference:

About these ads

One thought on “Rails – Customize Devise’s Views

  1. Pingback: Rails – Add Custom Fields to Devise User Model | Eureka!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s