mirror of
https://github.com/bitwarden/browser
synced 2025-12-28 22:23:28 +00:00
33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
<bit-dialog dialogSize="large">
|
|
<span bitDialogTitle>
|
|
{{ headerText }}
|
|
</span>
|
|
<ng-container bitDialogContent>
|
|
<vault-cipher-form
|
|
*ngIf="!loading"
|
|
formId="cipherForm"
|
|
[config]="config"
|
|
[submitBtn]="submitBtn"
|
|
(cipherSaved)="onCipherSaved($event)"
|
|
>
|
|
<bit-item slot="attachment-button">
|
|
<button bit-item-content type="button" (click)="openAttachmentsDialog()">
|
|
{{ "attachments" | i18n }}
|
|
<span *ngIf="!canAccessAttachments" bitBadge variant="success" slot="default-trailing">
|
|
{{ "premium" | i18n }}
|
|
</span>
|
|
<i slot="end" class="bwi bwi-angle-right" aria-hidden="true"></i>
|
|
</button>
|
|
</bit-item>
|
|
</vault-cipher-form>
|
|
</ng-container>
|
|
<ng-container bitDialogFooter>
|
|
<button bitButton type="submit" form="cipherForm" buttonType="primary" #submitBtn>
|
|
{{ "save" | i18n }}
|
|
</button>
|
|
<button bitButton type="button" buttonType="secondary" (click)="cancel()">
|
|
{{ "cancel" | i18n }}
|
|
</button>
|
|
</ng-container>
|
|
</bit-dialog>
|