Refactor templates to be more structured
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user