Refactor templates to be more structured

This commit is contained in:
Tim
2023-12-23 23:56:18 +01:00
parent be5e457d1b
commit a5619e2307
15 changed files with 46 additions and 45 deletions

View File

@ -1,9 +1,9 @@
{% extends "base/base.html.twig" %}
{% extends 'base/single.column.html.twig' %}
{% block body %}
<div class="row">
<div class="col-sm">
<h4>{{ app.user.name }}</h4>
<h3>{{ app.user.name }}</h3>
<br/>
{% if is_granted('ROLE_ADMIN') %}
<br/><br/>
@ -16,7 +16,7 @@
{% endif %}
</div>
<div class="col-sm">
<h4>Change profile</h4>
<h3>Change profile</h3>
{{ form(form) }}
</div>
</div>