Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
939 B

<div class="table-items-footer">
<form [formGroup]="addRoleForm.form" (ngSubmit)="addRole()">
<div class="row no-gutters">
<div class="col">
<sqx-control-errors for="name"></sqx-control-errors>
<input type="text" class="form-control" formControlName="name" maxlength="40" placeholder="{{ 'roles.roleNamePlaceholder' | sqxTranslate }}" autocomplete="off">
</div>
<div class="col-auto pl-1">
<button type="submit" class="btn btn-success" [disabled]="addRoleForm.hasNoName | async">
{{ 'roles.add' | sqxTranslate }}
</button>
</div>
<div class="col-auto pl-1">
<button type="reset" class="btn btn-text-secondary2" (click)="cancel()">
{{ 'common.cancel' | sqxTranslate }}
</button>
</div>
</div>
</form>
</div>