19 April 2009 at 10:45pm
i've got an issue with the login form.
when i go to http://mysite/admin i only see this text: "Enter your email address and password to access the CMS." but no login form.
only by reloading the page i see the form.
this is only on my custom template, not with the black candy original template.
21 April 2009 at 5:39am
Yes, the line numbers are different. :-) Replace your line 344 with the line in green on http://open.silverstripe.com/attachment/ticket/3750/Security-Form%20Code%20Should%20Not%20Go%20in%20Content%20Variable.patch.
21 April 2009 at 5:46am
Also, you'll want to have both the $Content and $Form variables in your template code. After looking at your post again, it sounds like your problem may be the fact that you don't have $Form in your template. The patch I mentioned fixes another--but somewhat related--issue.