web: rudimentary lazy loading for modals

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-29 11:57:53 +02:00
parent 76e571ea0a
commit 12bfa404c8
4 changed files with 11 additions and 8 deletions

View File

@ -34,7 +34,7 @@ export class GroupForm extends Form<Group> {
<ak-form-element-horizontal label=${gettext("Name")} ?required=${true}>
<input type="text" name="name" value="${ifDefined(this.group?.name)}" class="pf-c-form-control" required="">
</ak-form-element-horizontal>
<ak-form-element-horizontal ?required=${true}>
<ak-form-element-horizontal>
<div class="pf-c-check">
<input type="checkbox" name="is_superuser" class="pf-c-check__input" ?checked=${this.group?.isSuperuser || false}>
<label class="pf-c-check__label">