import { __ } from 'i18n'; import { html } from 'lit'; export default el => { const i18n_submit = __('Submit'); const i18n_passwords_must_match = __('The new passwords must match'); const i18n_new_password = __('New password'); const i18n_confirm_password = __('Confirm new password'); return html`
el.onSubmit(ev)}> ${el.alert_message ? html`` : ''}
el.checkPasswordsMatch(ev)} /> ${el.passwords_mismatched ? html`${i18n_passwords_must_match}` : ''}
`; };