15 lines
765 B
HTML
15 lines
765 B
HTML
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||
|
<div class="form-group">
|
||
|
<label for="file">{{'licenseFile' | i18n}}</label>
|
||
|
<input type="file" id="file" class="form-control-file" name="file" required>
|
||
|
<small class="form-text text-muted">{{'licenseFileDesc' | i18n : (user ? 'bitwarden_premium_license.json' : 'bitwarden_organization_license.json')}}</small>
|
||
|
</div>
|
||
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
||
|
<i class="fa fa-spinner fa-spin"></i>
|
||
|
<span>{{'submit' | i18n}}</span>
|
||
|
</button>
|
||
|
<button type="button" class="btn btn-outline-secondary" (click)="cancel()" *ngIf="!create">
|
||
|
{{'cancel' | i18n}}
|
||
|
</button>
|
||
|
</form>
|