Files
myep-team/templates/administrative/profile/index.html.twig
T

27 lines
728 B
Twig

{% extends 'administrative/layout.html.twig' %}
{% block title %}Benutzerprofil {{ user }}{% endblock %}
{% block content %}
<h1 class="text-2xl font-bold pb-8">
Benutzerprofil und -einstellungen
</h1>
<p class="pb-8">
Meine Rolle(n): {{ user.rolesLabels|join(', ') }}
<br>
Mein Vertragspartner: {{ user.hotelCode | default('-') }}
</p>
<h2 class="text-lg font-bold pb-2">
Einstellungen
</h2>
{{ form_start(form) }}
<div class="flex flex-col space-y-4 pb-4">
{{ form_row(form.muteNotifications) }}
</div>
<button type="submit" class="btn">
speichern
</button>
{{ form_rest(form) }}
{{ form_end(form) }}
{% endblock %}