{% form_theme form 'MuzichCoreBundle:Form:errors.html.twig' %}

{{ form_errors(form) }}

{% if errors_pers is defined %}
<ul class="error_list">
  {% for error in errors_pers %}
    <li>{{ error }}</li>
  {% endfor %}
</ul>
{% endif %}
    
  <div class="field">
    {{ form_errors(form.current) }}
    {{ form_label(form.current, 'password.actual'|trans({}, 'userform')) }}
    {{ form_widget(form.current) }}
  </div>

  <div class="field">
    {{ form_errors(form.new.first) }}
    {{ form_label(form.new.first, 'password.new.first'|trans({}, 'userform')) }}
    {{ form_widget(form.new.first) }}
  </div>

  <div class="field">
    {{ form_errors(form.new.second) }}
    {{ form_label(form.new.second, 'password.new.second'|trans({}, 'userform')) }}
    {{ form_widget(form.new.second) }}
  </div>

{{ form_rest(form) }}