From 16f64dfe8c2b86c2f15770fa1a0bc0bcc9fbba19 Mon Sep 17 00:00:00 2001 From: Alexis Reigel Date: Thu, 1 Jun 2017 14:21:32 +0200 Subject: [PATCH] inline the only once used template --- app/views/layouts/mailer/_default_content.html.haml | 3 --- app/views/layouts/mailer/devise.html.haml | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 app/views/layouts/mailer/_default_content.html.haml diff --git a/app/views/layouts/mailer/_default_content.html.haml b/app/views/layouts/mailer/_default_content.html.haml deleted file mode 100644 index 88e00b909eb..00000000000 --- a/app/views/layouts/mailer/_default_content.html.haml +++ /dev/null @@ -1,3 +0,0 @@ -%tr - %td{ style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#333333;font-size:15px;font-weight:400;line-height:1.4;padding:15px 5px;text-align:center;" } - = yield diff --git a/app/views/layouts/mailer/devise.html.haml b/app/views/layouts/mailer/devise.html.haml index 6f15f427369..7ff2eed3fa2 100644 --- a/app/views/layouts/mailer/devise.html.haml +++ b/app/views/layouts/mailer/devise.html.haml @@ -1,3 +1,4 @@ = render layout: 'layouts/mailer' do - = render layout: 'layouts/mailer/default_content' do - = yield + %tr + %td{ style: "font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;color:#333333;font-size:15px;font-weight:400;line-height:1.4;padding:15px 5px;text-align:center;" } + = yield