clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
601 B

{% extends 'base.html.twig' %}
{% block body %}
<h1>{{ 'heading.roles'|trans }}</h1>
{# Flash messages for feedback #}
{% for message in app.flashes('success') %}
<div class="alert alert-success">
{{ message }}
</div>
{% endfor %}
{% if app.user %}
<div>
{{ app.user.userIdentifier }}<br>
{% for role in app.user.roles %}
{{ role }}<br>
{% endfor %}
</div>
{% endif %}
{# Form for adding a new role #}
{{ form_start(form) }}
{{ form_widget(form) }}
{% endblock %}