<form action="{{ path('fos_user_change_password') }}" {{ form_enctype(form) }} method="POST" class="fos_user_change_password col-md-6">
    {{ form_errors(form) }}

    <div class="form-group clearfix">
        {{ form_label(form.current_password, 'Current password') }}
        <div class="input-group">
            {{ form_errors(form.current_password) }}
            {{ form_widget(form.current_password) }}
            <span class="input-group-addon"><span class="icon-key"></span></span>
        </div>
    </div>

    <div class="form-group clearfix">
        {{ form_label(form.new.first, 'New password') }}
        <div class="input-group">
            {{ form_errors(form.new.first) }}
            {{ form_widget(form.new.first) }}
            <span class="input-group-addon"><span class="icon-lock"></span></span>
        </div>
    </div>

    <div class="form-group clearfix">
        {{ form_label(form.new.second, 'Confirm new password') }}
        <div class="input-group">
            {{ form_errors(form.new.second) }}
            {{ form_widget(form.new.second) }}
            <span class="input-group-addon"><span class="icon-lock-open"></span></span>
        </div>
    </div>

    {{ form_widget(form) }}

    <input type="submit" class="btn btn-block btn-inverse btn-lg" value="{{ 'change_password.submit'|trans({}, 'FOSUserBundle') }}" />
</form>
