{% extends "new/settings_base.html" %}
{% load static %}


{% block headMedia %}

{% endblock %}

{% block dash-title %}

<b>Seguridad</b>

{% endblock %}

{% block dash %}
<div class="row">
    <div class="col-md-12">
        <div class="box box-warning">
            <div class="box-header with-border">
                <h3 class="box-title">Cambiar Contraseña</h3>
            </div><!-- /.box-header -->
            <div class="box-body">
                <form method="post">
                    {% csrf_token %}
                    {% for field in form %}
                    <div class="form-group">
                        <label>{{ field.label }}</label>
                        {{ field }}
                        {% if field.help_text %}
                        <small class="form-text text-muted">{{ field.help_text }}</small>
                        {% endif %}
                        {% for error in field.errors %}
                        <div class="alert alert-danger">{{ error }}</div>
                        {% endfor %}
                    </div>
                    {% endfor %}

                    <div class="box-footer">
                        <button type="submit" class="btn btn-warning">Actualizar Contraseña</button>
                    </div>
                </form>

            </div><!-- /.box-body -->
        </div><!-- /.box -->
    </div>
</div>

{% endblock %}

{% block scripts %}
{% endblock %}