Bee-Lab/BeelabUserBundle

View on GitHub
Resources/views/User/password.html.twig

Summary

Maintainability
Test Coverage
{% extends beelab_user_layout %}

{% block title %}{{ 'Change Password'|trans({}, 'admin') }} - {{ parent() }}{% endblock %}

{% block body %}
    <h1>{{ 'Change Password'|trans({}, 'admin') }}</h1>

    {{ form_start(form) }}
        {{ form_row(form.plainPassword) }}
        <p>
            <button class="btn btn-primary" type="submit"><i class="fa fa-edit"></i> {{ 'Change'|trans({}, 'admin') }}</button>
        </p>
    {{ form_end(form) }}
{% endblock %}