stylesheet, layout and rendering for email_template (test)

This commit is contained in:
rajavi-mishra 2021-03-05 03:35:29 -08:00
parent cfbb3bc36f
commit e8013d8345
4 changed files with 72 additions and 77 deletions

View file

@ -0,0 +1,19 @@
%html{lang: 'en'}
%head
%meta{charset: 'utf-8'}
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1'}
%title= 'Email'
%meta{content: 'Snap!Con -- A conference all about Snap!, a programing language from UC Berkeley.', name: 'description'}
%meta{content: 'Michael Ball, Brian Harvey, Jens Moenig, Bernat Romagosa, Dan Garcia, Lauren Mock', name: 'author'}
= stylesheet_link_tag "mailbot"
%body
#border
.row
.col-md-2
- if !@logo.nil?
= image_tag(@logo, style: "display:block")
.col-md-10
%h1
#content
%span{:style => "white-space: pre-line"}