From 4743cd48f9ab77732b1c45d5aadd5b4d1d81f2e2 Mon Sep 17 00:00:00 2001 From: Derek Montgomery Date: Thu, 18 Aug 2016 16:35:37 -0500 Subject: [PATCH] Refactored reminder layout stuff into layout view --- app/views/candidate_mailer/reminder.html.inky | 74 ++++--------------- app/views/layouts/mailer.html.erb | 43 ++++++++++- 2 files changed, 56 insertions(+), 61 deletions(-) diff --git a/app/views/candidate_mailer/reminder.html.inky b/app/views/candidate_mailer/reminder.html.inky index 499b6d8..9919514 100644 --- a/app/views/candidate_mailer/reminder.html.inky +++ b/app/views/candidate_mailer/reminder.html.inky @@ -1,58 +1,16 @@ - - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - -
- <%= image_tag("yellowslant-left.jpg", alt:"Perficient Digital") %> - -   - - <%= image_tag("yellowslant-right.jpg", alt:"Perficient Digital") %> -
-
-
-
\ No newline at end of file + + + diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb index dfe995b..d35af10 100644 --- a/app/views/layouts/mailer.html.erb +++ b/app/views/layouts/mailer.html.erb @@ -3,16 +3,53 @@ - <%= stylesheet_link_tag "mailers/foundation_vendor_manifest" %> - +
- <%= yield %> +