This project is read-only.

styling the /Users/Account/RequestLostPassword page

Topics: Writing themes
Nov 13, 2012 at 6: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? 

Nov 17, 2012 at 3:20 AM

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

Nov 17, 2012 at 3:23 AM

Yes, I mean a template override. 

Nov 17, 2012 at 3: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 4: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 5: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 6:04 PM

Awesome, thanks.