PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/admin/templates/mako/registration/password_reset_confirm.html

https://code.google.com/p/mango-py/
HTML | 35 lines | 23 code | 12 blank | 0 comment | 0 complexity | 3af68a32f9ebb3ae5914612886d91695 MD5 | raw file
 1<%inherit file="admin/base_site.html"/>
 2
 3<%def name="block_breadcrumbs()"><div class="breadcrumbs"><a href="../">${trans('Home')}</a> &rsaquo; ${trans('Password reset confirmation')}</div></%def>
 4
 5<%def name="block_title()">${trans('Password reset')}</%def>
 6
 7<%def name="block_content()">
 8
 9% if validlink:
10
11<h1>${trans('Enter new password')}</h1>
12
13<p>${trans("Please enter your new password twice so we can verify you typed it in correctly.")}</p>
14
15<form action="" method="post">${ csrf_tag(csrf_token) }
16% if form['new_password1'].errors:
17    ${ form['new_password1'].errors }
18% endif
19<p class="aligned wide"><label for="id_new_password1">${trans('New password:')}</label>${ form['new_password1'] }</p>
20% if form['new_password2'].errors:
21    ${ form['new_password2'].errors }
22% endif
23<p class="aligned wide"><label for="id_new_password2">${trans('Confirm password:')}</label>${ form['new_password2'] }</p>
24<p><input type="submit" value="${trans('Change my password')}" /></p>
25</form>
26
27% else:
28
29<h1>${trans('Password reset unsuccessful')}</h1>
30
31<p>${trans("The password reset link was invalid, possibly because it has already been used.  Please request a new password reset.")}
32
33% endif
34
35</%def>