{% extends "base.html" %} {% from "components/ui.html" import breadcrumb, card, csrf_field with context %} {% from "components/grants.html" import grant_editor %} {% block title %}New role ยท {{ APP_NAME }}{% endblock %} {% block heading %}New role{% endblock %} {% block subheading %}{{ breadcrumb([("Roles", "/ui/roles"), ("New role", None)]) }}{% endblock %} {% block content %}
{{ csrf_field() }} {% call card("Role") %}
Cannot be changed later.
{% endcall %} {% call card("Grants", meta="You can hand out only rights you hold yourself.") %} {{ grant_editor(rows, account_choices, groups, group_ops) }} {% endcall %}
Cancel
{% endblock %}