{{ extends "../../_layouts/default" }} {{ import "../../_modules/form" }} {{ block script() }} {{ end }} {{ block body() }} ROLE A role is a user group with same rights. User can belong to multiple roles. Roles Users Settings Events Create role Name Description Permissions {{range .Perms}} {{ yield checkbox(id="cb-"+lower(.Name), label=.Name) content}} data-form-ignore="true" data-action="check-row"{{ end }} {{range .Perms}} {{ yield checkbox(name="perms", value=.Key, label=.Text) content}} data-action="check"{{ end }} {{end}} {{end}} Submit Cancel {{ end }}