{# Rights: the service rights and the grants, one line each to read, and their editor inside a form (see grants.py). Roles: as tags, and as checkboxes to give. #} {% from "components/ui.html" import icon, toggle %} {% macro grants_of(grants, names) %}{% for grant in grants %}{{ grant_summary(grant, names) }}{% else %}—{% endfor %}{% endmacro %} {% macro service_of(service) %}{% for right in service %}{{ right }} {% else %}—{% endfor %}{% endmacro %} {% macro rights_of(service, grants, names) %}{% if service %}