{{ extends "base" }} {{ import "../../_modules/form" }} {{ block body_content() }}

Create user


{{ yield switch(id="cb-admin", name="admin", label="Administrator") }}
{{ yield radio(name="type", value="internal", label="Internal", checked="internal") }} {{ yield radio(name="type", value="ldap", label="LDAP") }}
{{range .Roles}} {{ yield checkbox(name="roles", value=.ID, label=.Name) }} {{end}}
{{ yield form_submit(url="/system/user/") }}
{{ end }}