agenda-libre-ruby/app/views/event_mailer/accept.text.haml

26 lines
991 B
Plaintext
Raw Normal View History

=t '.title'
\
=t '.body', moderator: @current_user
= event_url @event
\
=t '.edit_link'
= edit_event_url @event, secret: @event.secret
\
=t '.delete_link'
= cancel_event_url @event, secret: @event.secret
\
=====================================================
#{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'