Changeset 7cad786 in firmaeventos for users/templates/users_forgot.html


Ignore:
Timestamp:
Nov 20, 2017, 10:54:23 AM (7 years ago)
Author:
rudmanmrrod <rudman22@…>
Branches:
master
Children:
989c168
Parents:
2f56f4e
Message:

Acomodados estilos del usuario

File:
1 edited

Legend:

Unmodified
Added
Removed
  • users/templates/users_forgot.html

    rbf47591 r7cad786  
    1 {% extends 'base.html' %}
     1{% extends 'base.template.html' %}
    22{% load staticfiles %}
    3 {% block title %}'=Django-Forgot Password='{% endblock title %}
    4 {% block extras_constantes %}
    5 {% endblock extras_constantes %}
    6 {% block extras_css %}
    7 <link rel="stylesheet" href="{% static 'css/custom_login.css' %}">
    8 <link rel="stylesheet" href="{% static 'css/font-awesome.min.css' %}">
    9 <link href="{% static 'css/font_varelaround.css'  %}" rel='stylesheet' type='text/css'>
    10 {% endblock extras_css %}
    11 {% block extras_js %}
    12 <script src="{% static 'js/jquery.validate.min.js' %}"></script>
    13 <script type="text/javascript">
    14 </script>
    15 {% endblock extras_js %}
    16 {% block contenido %}
    17 <!-- Where all the magic happens -->
    18 <!-- FORGOT PASSWORD FORM -->
    19 <div class="text-center" style="padding:50px 0">
    20     <div class="logo">Forgot Password</div>
    21     <!-- Main Form -->
    22     <div class="login-form-1">
    23         <form id="forgot-password-form" class="text-left" method="post">
    24             <div class="etc-login-form">
    25                 <p>When you fill in your registered email address, you will be sent instructions on how to reset your password.</p>
    26             </div>
    27             <div class="login-form-main-message"></div>
    28             <div class="main-login-form">
    29                 <div class="login-group">
    30                     <div class="form-group">
    31                         {% csrf_token %}
    32                         {{ form.email }}
    33                     </div>
    34                 </div>
    35                 <button type="submit" class="login-button"><i class="fa fa-chevron-right"></i></button>
    36             </div>
    37             <div class="etc-login-form">
    38                 <p>already have an account? <a href="{% url 'users:login'%}">login here</a></p>
    39                 <p>new user? <a href="#">create new account</a></p>
    40             </div>
    41         </form>
    42     </div>
    43     <!-- end:Main Form -->
     3{% block title %}Olvido su contraseña{% endblock title %}
     4{% block content %}
     5<div class="center">
     6    <h3>Olvido de Contraseña</h3><hr/>
     7    <form id="forgot-password-form" method="post">
     8        {% csrf_token %}
     9        <br/>
     10        <p>Las instrucciones para recuperar su contraseña serán enviadas al correo.</p><br/>
     11        <div class="input-field {% if form.email.errors %}invalid{% endif %}">
     12            {{ form.email }}
     13            <label for="{{ form.email.auto_id }}">Correo</label>
     14            {% include 'base.forms.errors.html' with form_errors=form.email.errors col_title_error='col s2' col_msg_error='col s10' %}
     15        </div>
     16        <button type="submit" class="btn waves-effect red darken-1">Enviar</button>
     17    </form>
    4418</div>
    45 {% endblock contenido %}
    46 {% block custom_js%}
    47 <script src="{% static 'js/custom_login.js' %}"></script>
    48 {% endblock custom_js%}
     19{% endblock %}
Note: See TracChangeset for help on using the changeset viewer.