View Single Post
Newbie Member
31May2011,11:08  
Suhana's Avatar
Hi,

My company sites forgot password is not working.Below is the code I found in the view folder-ForgotPassword.spark file.
Can anybody pls explain what is this and why it is not working.Pls tell me what more do I need to post to elaborate on this.
Pls guys help me out..
Code:
 
<viewdata model="ForgotPasswordInput" />
<content:sidebar>
</content:sidebar>
<div id="forgot-password-form">
<h1>Forgotten Password</h1>
# Html.EnableClientValidation();
<p>Please enter your email address below and we'll reset your password and send you an email.</p>
<div>
<if condition="TempData['Confirmation'] != null">
${Html.MessagePanel((MessagePanel)TempData['Confirmation'])}
</if>
# Html.BeginForm();
!{Html.EditorForModel()}
<div class="submit">
  <input type="image" src="~/content/image/button/submit2.gif" value="ResetPassword" />
</div>
# Html.EndForm();
</div>
</div>
Thanks,
Suhana

Last edited by shabbir; 31May2011 at 11:17.. Reason: Code blocks