From b6140f36654db8eab6cf2e72742b62c0a883bab6 Mon Sep 17 00:00:00 2001 From: echarp Date: Thu, 22 Oct 2015 22:39:04 +0200 Subject: [PATCH] Removal of a second title to a note mailer --- app/views/note_mailer/notify.text.haml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/views/note_mailer/notify.text.haml b/app/views/note_mailer/notify.text.haml index d949f7b6..1a961d12 100644 --- a/app/views/note_mailer/notify.text.haml +++ b/app/views/note_mailer/notify.text.haml @@ -1,13 +1,11 @@ -=t '.title' += t '.body', subject: @note.event.title, contents: @note.contents \ -=t '.body', subject: @note.event.title, contents: @note.contents -\ = sanitize @note.contents.html_safe, tags: %w(p br table tr td ul ol li a strong b em i img), attributes: %w(href src width height) -\ -=t '.edit_link' +\ += t '.edit_link' \ = edit_event_url @note.event, secret: @note.event.secret \ -=t '.signature' += t '.signature'