styling the /Users/Account/RequestLostPassword page

Topics: Writing themes
Nov 13, 2012 at 5:03 PM

I can't find a way to make an alternate for this page, what would be the best way to add css classes to the elements on this page? 

Coordinator
Nov 17, 2012 at 2:20 AM

Why do you need an alternate? Or do you mean a template override in your theme?

Nov 17, 2012 at 2:23 AM

Yes, I mean a template override. 

Coordinator
Nov 17, 2012 at 2:29 AM

What did you try so far? Did you try to simply have a Logon.cshtml file in the views folder of your theme?

Nov 19, 2012 at 3:43 PM

Well, I have a LogOn-url-users.cshtml file but that doesn't seem to include the form for the lost password page.

Nov 19, 2012 at 4:39 PM

1. Copy  RequestLostPassword.cshtml to ~/themes/<YOUR THEME>/views/Orchard.Users/Account/RequestLostPassword.cshtml

2. Modify this copy as necessary

Nov 19, 2012 at 5:04 PM

Awesome, thanks.