.modal-body
    .d-flex.align-items-center.mb-3
        h3.m-0(translate) Vault is locked
        .ms-auto(ngbDropdown, placement='bottom-right')
            button.btn.btn-link(ngbDropdownToggle, (click)='$event.stopPropagation()')
                span(
                    *ngIf='rememberFor',
                    translate='Remember for {time}',
                    [translateParams]='{time: getRememberForDisplay(rememberFor)}'
                )
                span(*ngIf='!rememberFor', translate) Do not remember
            div(ngbDropdownMenu)
                button.dropdown-item(
                    (click)='rememberFor = 0',
                    translate
                ) Do not remember
                button.dropdown-item(
                    *ngFor='let x of rememberOptions',
                    (click)='rememberFor = x',
                ) {{getRememberForDisplay(x)}}

    .input-group
        input.form-control.form-control-lg(
            type='password',
            autofocus,
            [(ngModel)]='passphrase',
            #input,
            placeholder='Master passphrase',
            (keyup.enter)='ok()',
            (keyup.esc)='cancel()',
        )
        button.btn.btn-secondary((click)='ok()', *ngIf='passphrase')
            i.fas.fa-check
