Add password reset request handling to the account page
The next step in the password reset process (confirmation) continues to be handled by student.views.password_reset_confirm_wrapper, a custom wrapper around Django's password reset confirmation view.
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
<form id="email-change-form" method="post">
|
||||
<label for="new-email"><%- gettext('New Address') %></label>
|
||||
<label for="new-email"><%- gettext("New Address") %></label>
|
||||
<input id="new-email" type="text" name="new-email" value="" placeholder="xsy@edx.org" data-validate="required email"/>
|
||||
<div id="new-email-status" />
|
||||
|
||||
<label for="password"><%- gettext('Password') %></label>
|
||||
<label for="password"><%- gettext("Password") %></label>
|
||||
<input id="password" type="password" name="password" value="" data-validate="required"/>
|
||||
<div id="password-status" />
|
||||
|
||||
<div class="submit-button">
|
||||
<input type="submit" id="email-change-submit" value="<%- gettext('Change My Email Address') %>">
|
||||
<input type="submit" id="email-change-submit" value="<%- gettext("Change My Email Address") %>">
|
||||
</div>
|
||||
<div id="request-email-status" />
|
||||
|
||||
<div id="password-reset">
|
||||
<a href="#"><%- gettext("Reset Password") %></a>
|
||||
</div>
|
||||
<div id="password-reset-status" />
|
||||
</form>
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
|
||||
<p>This is a placeholder for the student's account page.</p>
|
||||
|
||||
<div id="account-container" />
|
||||
<div id="account-container"></div>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
% endfor
|
||||
</%block>
|
||||
|
||||
<h1>${_("Student Profile")}</h1>
|
||||
<h1>Student Profile</h1>
|
||||
|
||||
<p>This is a placeholder for the student's profile page.</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user