This repository has been archived by the owner on Oct 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
clave.html
60 lines (51 loc) · 1.51 KB
/
clave.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{% extends "base.html" %}
{% block title %}
{{ super() }} Cambio clave
{% endblock title %}
{% block page_content %}
<div class="row">
<div class="col-md-5 col-xs-12 caja">
{% if error: %}
<h4><span class="label label-danger">{{ error|safe }}</span> </h4>
{% endif %}
{% if mensaje: %}
<h4><span class="label label-success">{{ mensaje }}</span> </h4>
{% endif %}
<h1 class="titulo">Cambio de clave</h1>
<h2 class="subtitulo"><i>Confirmá tu clave actual</i>:</h2>
<form method="POST">
<div class="form-group">
{{ cambio.csrf_token }}
{{ cambio.vieja_clave(class_="form-control input-lg",
autofocus=true,
required="",
placeholder="Clave actual",
size=15,
maxlength=15,
pattern=".{3,}",
title="3 caracteres mínimo") }}
<br>
<h2 class="subtitulo"><i>Ingresá ahora la nueva clave</i>:</h2>
{{ cambio.nueva_clave(class_="form-control input-lg",
required="",
placeholder="Nueva clave",
size=15,
maxlength=15,
pattern=".{3,}",
title="3 caracteres mínimo") }}
{{ cambio.confirmar_nueva_clave(class_="form-control input-lg",
required="",
placeholder="Confirmar nueva clave",
size=15,
maxlength=15,
pattern=".{3,}",
title="3 caracteres mínimo") }}
<br>
{{ cambio.submit(class_="btn btn-default btn-lg",
value="Cambiar") }}
</div>
</form>
</div>
</div>
{% endblock page_content %}
<!-- FIN Inicio -->