mirror of https://github.com/Squidex/squidex.git
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.
27 lines
1.1 KiB
27 lines
1.1 KiB
<div class="card card-body mb-4">
|
|
<h5 class="card-title">{{ 'clients.add.title' | sqxTranslate }}</h5>
|
|
|
|
<form [formGroup]="addClientForm.form" (ngSubmit)="addClient()">
|
|
<div class="row gx-2">
|
|
<div class="col">
|
|
<sqx-control-errors for="name"></sqx-control-errors>
|
|
|
|
<input type="text" class="form-control" formControlName="id" maxlength="40" placeholder="{{ 'clients.clientNamePlaceholder' | sqxTranslate }}" autocomplete="off" sqxTransformInput="LowerCase">
|
|
</div>
|
|
<div class="col-auto">
|
|
<button type="submit" class="btn btn-success" [disabled]="addClientForm.hasNoId | async">
|
|
{{ 'clients.add' | sqxTranslate }}
|
|
</button>
|
|
</div>
|
|
<div class="col-auto">
|
|
<button type="reset" class="btn btn-text-secondary" (click)="cancel()">
|
|
{{ 'common.cancel' | sqxTranslate }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<sqx-form-hint>
|
|
{{ 'clients.add.description' | sqxTranslate }}
|
|
</sqx-form-hint>
|
|
</div>
|