2018-07-02 16:30:51 +02:00
|
|
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
|
|
|
<div class="form-group">
|
2018-07-18 04:49:53 +02:00
|
|
|
<label for="file" class="sr-only">{{ "licenseFile" | i18n }}</label>
|
2018-07-02 16:30:51 +02:00
|
|
|
<input type="file" id="file" class="form-control-file" name="file" required />
|
2019-02-21 22:50:37 +01:00
|
|
|
<small class="form-text text-muted">{{
|
|
|
|
"licenseFileDesc"
|
|
|
|
| i18n
|
|
|
|
: (!organizationId
|
|
|
|
? "bitwarden_premium_license.json"
|
|
|
|
: "bitwarden_organization_license.json")
|
|
|
|
}}</small>
|
2018-07-02 16:30:51 +02:00
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
2022-01-27 18:25:58 +01:00
|
|
|
<i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
2018-07-02 16:30:51 +02:00
|
|
|
<span>{{ "submit" | i18n }}</span>
|
|
|
|
</button>
|
2018-07-03 15:55:59 +02:00
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="cancel()">
|
2018-07-02 16:30:51 +02:00
|
|
|
{{ "cancel" | i18n }}
|
|
|
|
</button>
|
|
|
|
</form>
|