agenda-libre-ruby/app/views/moderation_mailer/create.text.haml

18 lines
813 B
Plaintext
Raw Normal View History

2014-06-09 12:18:40 +02:00
=t '.title'
\
=t '.body', subject: @event.title, start_time: l(@event.start_time, format: :at)
= edit_moderation_url @event
\
#{Event.human_attribute_name(:title)}: #{@event.title}
#{Event.human_attribute_name(:start_time)}: #{l @event.start_time, format: :at}
#{Event.human_attribute_name(:end_time)}: #{l @event.end_time, format: :at}
#{Event.human_attribute_name(:region)}: #{@event.region}
#{Event.human_attribute_name(:city)}: #{@event.city}
#{Event.human_attribute_name(:url)}: #{@event.url}
#{Event.human_attribute_name(:contact)}: #{@event.contact}
#{Event.human_attribute_name(:submitter)}: #{@event.submitter}
#{Event.human_attribute_name(:tags)}: #{@event.tags}
#{Event.human_attribute_name(:description)}: #{raw @event.description}
\
=t '.signature'