i’ve generated the devise views using rails g devise:views and then also followed the instructions to add the web-app-theme to sign but devise does not use that layout.
how you I change the devise layout to use web-app-theme?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to create a new layout file, specifically for logging in.
So you have your application layout file, but you also have a folder called
devise, and in it, is a layout file for devise sessions. Rails should automatically pick up this layout and use it since it is the same path and name as the view being displayed (views/devise/sessions) so it’ll look for views/layouts/devise/sessions, and if it doesn’t find it, it’ll check if it’s defined elsewhere.UPDATE
Here’s another potential solution I found on Stackoverflow.
Integrate layouts with Devise
UPDATE 2
A third option is to do what the devise wiki says.
How To: Create Custom Layouts