{{ extends "_base" }} {{ import "../../_modules/form" }} {{ block script() }} {{ end }} {{ block body_content() }}

Create role


{{range .Perms}} {{end}}
{{ 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}}
{{ yield form_submit(url="/system/role/") }}
{{ end }}