{#This file is part of Rogō
Rogō is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Rogō is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Rogō. If not, see .
#}
{#
This template is for displaying a Role objects in an editing form for the user details Roles tab.
author Neill Magill
copyright 2020 onwards The University of Nottingham
Required variables -
data.error - A save failed.
data.rolelist - Rolelist generated by Role::listByGrouping()
data.userroles - The roles the user has.
data.userid - The id of the user the roles are for
Required localised strings -
lang - Must contain the localised strings for the groupings.
#}
{% if data.error %}
{{lang.rolesavefailure}}
{% endif %}