mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
require actual password for change + insert link in menu
This commit is contained in:
@@ -23,12 +23,22 @@
|
||||
{% block title %}{{"Change my password"|trans}}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="grid-10 grid-mobile-10 grid-tablet-10 centered">
|
||||
|
||||
<h1>{{ 'Choose a new password'|trans }}</h1>
|
||||
<h1>{{ 'Change my password'|trans }}</h1>
|
||||
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.password) }}
|
||||
{{ form_widget(form.submit, { 'attr': { 'class': 'sc-button orange' } } ) }}
|
||||
{{ form_end(form) }}
|
||||
{{ form_start(form) }}
|
||||
{{ form_row(form.actual_password) }}
|
||||
{{ form_row(form.new_password) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
{{ form_widget(form.submit, { 'attr': { 'class': 'sc-button orange' } } ) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user