webauthn_credential_added.html.haml 955 B

12345678910111213141516
  1. = content_for :heading do
  2. = render 'application/mailer/heading',
  3. image_url: frontend_asset_url('images/mailer-new/heading/key-added.png'),
  4. subtitle: t('devise.mailer.webauthn_credential.added.explanation'),
  5. title: t('devise.mailer.webauthn_credential.added.title')
  6. %table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
  7. %tr
  8. %td.email-body-padding-td
  9. %table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
  10. %tr
  11. %td.email-inner-card-td.email-prose
  12. %table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
  13. %tr
  14. %td.email-frame-wrapper-td
  15. = render 'application/mailer/frame', text: @webauthn_credential.nickname
  16. = render 'application/mailer/button', text: t('settings.account_settings'), url: edit_user_registration_url