Follow the instructions here .
This will only be the case of editing a presentation template for a presentation.
First add these lines to the environment.rb file in your Rails application.
config.to_prepare do Devise::Mailer.layout "email" # email.haml or email.erb end
Then edit the email.erb or email.haml file to create your own layout.
source share