webauthn_credential_added.html.haml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  2. %tbody
  3. %tr
  4. %td.email-body
  5. .email-container
  6. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  7. %tbody
  8. %tr
  9. %td.content-cell.hero
  10. .email-row
  11. .col-6
  12. %table.column{ cellspacing: 0, cellpadding: 0 }
  13. %tbody
  14. %tr
  15. %td.column-cell.text-center.padded
  16. %table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
  17. %tbody
  18. %tr
  19. %td
  20. = image_tag full_pack_url('media/images/mailer/icon_lock_open.png'), alt: ''
  21. %h1= t 'devise.mailer.webauthn_credential.added.title'
  22. %p.lead= "#{t 'devise.mailer.webauthn_credential.added.explanation' }:"
  23. %p.lead= @webauthn_credential.nickname
  24. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  25. %tbody
  26. %tr
  27. %td.email-body
  28. .email-container
  29. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  30. %tbody
  31. %tr
  32. %td.content-cell.content-start
  33. %table.column{ cellspacing: 0, cellpadding: 0 }
  34. %tbody
  35. %tr
  36. %td.column-cell.button-cell
  37. %table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
  38. %tbody
  39. %tr
  40. %td.button-primary
  41. = link_to edit_user_registration_url do
  42. %span= t('settings.account_settings')