Repository URL to install this package:
|
Version:
5.16.0 ▾
|
## mako
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
from microsite_configuration import microsite
%>
<div id="modal-forget-password" class="modal fade" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header" data-success="${_("Password reset successful")}">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">${_("Password Reset")}</h4>
</div>
<div class="modal-body" data-success="${_("We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly.")}">
<p>${_("Please enter your e-mail address below, and we will e-mail instructions for setting a new password.")}</p>
<form id="pwd_reset_form" method="POST" action="${reverse('password_reset')}">
<fieldset>
<div class="form-group" id="forgot-password-modal-field-email">
<label for="pwd_reset_email">${_("Your E-mail Address")}</label>
<input class="form-control" id="pwd_reset_email" type="email" name="email" value="" placeholder="${_('example: username@domain.com')}"/>
<p class="help-block">${_("This is the e-mail address you used to register with {platform}").format(platform=microsite.get_value('platform_name', settings.PLATFORM_NAME))}</p>
</div>
</fieldset>
<button name="submit" type="submit" id="pwd_reset_button" class="btn btn-block ">${_("Reset My Password")}</button>
</form>
</div>
</div>
</div>
</div>