{% extends 'MainBundle::layout.html.twig' %}

{% set section = 'examples' %}

{% block content %}
    <div class="row">
        <div class="span12">
            <form action="{{ path('examples_userpassword') }}" method="POST" novalidate>
                {{ form_row(form.oldPassword) }}
                {{ form_rest(form) }}
                <button type="submit" class="btn btn-success">
                    Guardar
                </button>
            </form>
            <p>Password: <strong>smtc</strong></p>
        </div>
    </div>
{% endblock %}

{% set code = code(_self) %}

{% extends 'MainBundle::layout.html.twig' %}

{% set section = 'examples' %}

{% block content %}
    <div class="row">
        <div class="span12">
            <form action="{{ path('examples_userpassword') }}" method="POST" novalidate>
                {{ form_row(form.oldPassword) }}
                {{ form_rest(form) }}
                <button type="submit" class="btn btn-success">
                    Guardar
                </button>
            </form>
            <p>Password: <strong>smtcpass</strong></p>
        </div>
    </div>
{% endblock %}

{% set code = code(_self) %}

Change password in userpassword example
Change password in userpassword example
