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.
28 lines
1.0 KiB
28 lines
1.0 KiB
<form [formGroup]="createForm" (ngSubmit)="createApp()">
|
|
<div *ngIf="creationError">
|
|
<div class="form-error">
|
|
{{creationError}}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="app-name">Name</label>
|
|
|
|
<sqx-control-errors for="name" [submitted]="createFormSubmitted"></sqx-control-errors>
|
|
|
|
<input type="text" class="form-control" id="app-name" formControlName="name" />
|
|
|
|
<span class="form-hint">
|
|
The app name becomes part of the api url,<br /> e.g https://<b>{{appName | async}}</b>.squidex.io/.
|
|
</span>
|
|
|
|
<span class="form-hint">
|
|
It must contain lower case letters (a-z), numbers and dashes only, and cannot be longer than 40 characters. The name cannot be changed later.
|
|
</span>
|
|
</div>
|
|
|
|
<div class="form-group clearfix">
|
|
<button type="reset" class="float-left btn btn-secondary" (click)="cancel()">Cancel</button>
|
|
<button type="submit" class="float-right btn btn-success">Create</button>
|
|
</div>
|
|
</form>
|