agenda-libre-ruby/app/views/note_mailer/notify.text.haml

14 lines
314 B
Plaintext

=t '.title'
\
=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'
\
= edit_event_url @note.event, secret: @note.event.secret
\
=t '.signature'