email_changed.html.haml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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('icon_email.png'), alt: ''
  21. %h1= t 'devise.mailer.email_changed.title'
  22. %p.lead= t 'devise.mailer.email_changed.explanation'
  23. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  24. %tbody
  25. %tr
  26. %td.email-body
  27. .email-container
  28. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  29. %tbody
  30. %tr
  31. %td.content-cell.content-start
  32. %table.column{ cellspacing: 0, cellpadding: 0 }
  33. %tbody
  34. %tr
  35. %td.column-cell.input-cell
  36. %table.input{ align: 'center', cellspacing: 0, cellpadding: 0 }
  37. %tbody
  38. %tr
  39. %td= @resource.try(:unconfirmed_email) ? @resource.unconfirmed_email : @resource.email
  40. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  41. %tbody
  42. %tr
  43. %td.email-body
  44. .email-container
  45. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  46. %tbody
  47. %tr
  48. %td.content-cell
  49. .email-row
  50. .col-6
  51. %table.column{ cellspacing: 0, cellpadding: 0 }
  52. %tbody
  53. %tr
  54. %td.column-cell.text-center.padded
  55. %p= t 'devise.mailer.email_changed.extra'