glitch-soc/mastodon

View on GitHub
app/views/user_mailer/reset_password_instructions.html.haml

Summary

Maintainability
Test Coverage
= content_for :heading do
  = render 'application/mailer/heading',
           image_url: frontend_asset_url('images/mailer-new/heading/password.png'),
           subtitle: t('devise.mailer.reset_password_instructions.explanation'),
           title: t('devise.mailer.reset_password_instructions.title')
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
  %tr
    %td.email-body-padding-td
      %table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
        %tr
          %td.email-inner-card-td.email-prose
            %p= t 'devise.mailer.reset_password_instructions.extra'
            = render 'application/mailer/button', text: t('devise.mailer.reset_password_instructions.action'), url: edit_password_url(@resource, reset_password_token: @token)