reconfirmation_instructions.html.haml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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_email.png'), alt: ''
  21. %h1= t 'devise.mailer.reconfirmation_instructions.title'
  22. %p.lead= t 'devise.mailer.reconfirmation_instructions.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.button-cell
  36. %table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
  37. %tbody
  38. %tr
  39. %td.button-primary
  40. = link_to confirmation_url(@resource, confirmation_token: @token) do
  41. %span= t 'devise.mailer.confirmation_instructions.action'
  42. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  43. %tbody
  44. %tr
  45. %td.email-body
  46. .email-container
  47. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  48. %tbody
  49. %tr
  50. %td.content-cell
  51. .email-row
  52. .col-6
  53. %table.column{ cellspacing: 0, cellpadding: 0 }
  54. %tbody
  55. %tr
  56. %td.column-cell.text-center.padded
  57. %p= t 'devise.mailer.reconfirmation_instructions.extra'