Removal of a second title to a note mailer

This commit is contained in:
echarp 2015-10-22 22:39:04 +02:00
parent 70b34e16cc
commit b6140f3665

View File

@ -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, = sanitize @note.contents.html_safe,
tags: %w(p br table tr td ul ol li a strong b em i img), tags: %w(p br table tr td ul ol li a strong b em i img),
attributes: %w(href src width height) attributes: %w(href src width height)
\ \
=t '.edit_link' = t '.edit_link'
\ \
= edit_event_url @note.event, secret: @note.event.secret = edit_event_url @note.event, secret: @note.event.secret
\ \
=t '.signature' = t '.signature'