2021-05-03 18:32:31 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2022-01-18 18:56:03 +01:00
|
|
|
{% block title %}User
|
|
|
|
{% endblock %}
|
2021-05-03 18:32:31 +02:00
|
|
|
|
|
|
|
{% block body %}
|
2022-01-18 18:56:03 +01:00
|
|
|
{% for message in app.flashes('error') %}
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
{{ message }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% for message in app.flashes('success') %}
|
|
|
|
<div class="alert alert-success" role="alert">
|
|
|
|
{{ message }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<div class="mb-5">
|
|
|
|
<h1>Hello
|
|
|
|
{{ user.username }}!</p>
|
|
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
|
|
<h2>Change Password</h2>
|
|
|
|
{{ form_start(changePassword_form) }}
|
|
|
|
{{ form_widget(changePassword_form) }}
|
|
|
|
{{ form_end(changePassword_form) }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
<h2>Delete Account</h2>
|
|
|
|
<button class="btn btn-danger">Delete Account</button>
|
|
|
|
</div>
|
2021-05-03 18:32:31 +02:00
|
|
|
{% endblock %}
|