2018-06-30 19:36:39 +02:00
|
|
|
<app-callout title="{{'contactSupport' | i18n}}" icon="fa-info-circle" *ngIf="!canChange">
|
|
|
|
<p>{{'contactSupportPaymentMethod' | i18n}}</p>
|
|
|
|
<a href="https://bitwarden.com/contact/" target="_blank" rel="noopener" class="btn btn-outline-secondary">
|
|
|
|
{{'contactSupport' | i18n}}
|
|
|
|
</a>
|
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="cancel()">
|
|
|
|
{{'close' | i18n}}
|
|
|
|
</button>
|
|
|
|
</app-callout>
|
|
|
|
<form #form class="card" (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate *ngIf="canChange">
|
|
|
|
<div class="card-body">
|
|
|
|
<h3 class="card-body-header">{{(currentType != null ? 'changePaymentMethod' : 'addPaymentMethod') | i18n}}</h3>
|
2018-07-18 18:19:16 +02:00
|
|
|
<app-payment [showOptions]="organizationId" [hidePaypal]="true" [hideBank]="!organizationId"></app-payment>
|
2018-06-30 19:36:39 +02:00
|
|
|
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
2018-07-18 05:15:15 +02:00
|
|
|
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}"></i>
|
2018-06-30 19:36:39 +02:00
|
|
|
<span>{{'submit' | i18n}}</span>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-outline-secondary" (click)="cancel()">
|
|
|
|
{{'cancel' | i18n}}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|