+
{{ "Change Password"|trans }}
+
+ {{ form_start(form, {'attr': {'class': 'bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4'}}) }}
+
+ {% for message in app.flashes('success') %}
+
+ {{ message }}
+
+ {% endfor %}
+
+ {% if form.vars.errors|length > 0 %}
+
+ {{ form_errors(form) }}
+
+ {% endif %}
+
+
+ {{ form_label(form.currentPassword) }}
+ {{ form_widget(form.currentPassword, {'attr': {'class': 'shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline', 'id': 'change_password_currentPassword'}}) }}
+
+
+
+ {{ form_errors(form.currentPassword) }}
+
+
+
+ {{ form_label(form.newPassword) }}
+ {{ form_widget(form.newPassword, {'attr': {'class': 'shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline', 'id': 'change_password_newPassword'}}) }}
+
+
+
+
+
+ {{ form_errors(form.newPassword) }}
+
+
+
+
+ {{ form_label(form.confirmPassword) }}
+ {{ form_widget(form.confirmPassword, {'attr': {'class': 'shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline', 'id': 'change_password_confirmPassword'}}) }}
+
+
+
+ {{ form_errors(form.confirmPassword) }}
+
+
+
+
+
+
+
+ {{ form_end(form) }}
+
+