49a04b226c
This commit allows users to use the trix editor to send messages with basic formatting and attachements. * add active storage * add actiontext * add richtext field to messages * add imageprocessing for message attachements * add html email layout and adjust translations to use html urls
11 lines
315 B
Text
11 lines
315 B
Text
= raw @message.body
|
|
%hr
|
|
%ul
|
|
- if @message.group
|
|
%li= t '.footer_group', group: @message.group.name
|
|
%li
|
|
%a{href: new_message_url('message[reply_to]' => @message.id)}= t '.reply'
|
|
%li
|
|
%a{href: message_url(@message)}= t '.see_message_online'
|
|
%li
|
|
%a{href: my_profile_url}= t '.messaging_options'
|