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.
24 lines
917 B
24 lines
917 B
<div class="card card-body mb-4">
|
|
<h5 class="card-title">{{ 'languages.add.title' | sqxTranslate }}</h5>
|
|
|
|
<form [formGroup]="addLanguageForm.form" (ngSubmit)="addLanguage()">
|
|
<div class="row gx-2">
|
|
<div class="col">
|
|
<sqx-autocomplete formControlName="language" displayProperty="iso2Code" [source]="addLanguagesSource">
|
|
<ng-template let-language="$implicit">
|
|
{{language.iso2Code}} ({{language.englishName}})
|
|
</ng-template>
|
|
</sqx-autocomplete>
|
|
</div>
|
|
<div class="col-auto">
|
|
<button type="submit" class="btn btn-success">
|
|
{{ 'languages.add' | sqxTranslate }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<sqx-form-hint>
|
|
{{ 'languages.add.description' | sqxTranslate }}
|
|
</sqx-form-hint>
|
|
</div>
|