{{ extends "base" }} {{ import "../../_modules/form" }} {{ block script() }} {{ end }} {{ block body_content() }} Create role {{ i18n("field.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}} {{ yield form_submit(url="/system/role/") }} {{ end }}