additionals/app/views/mailer/_entity.text.erb
2022-05-30 19:15:10 +02:00

16 lines
440 B
Plaintext

----------------------------------------
<%= title %>
<%= entity_url %>
<%= render_email_attributes entity %>
----------------------------------------
<%= entity.send content_field %>
<% if with_attachments && entity.attachments.any? -%>
---<%= l(:label_attachment_plural).ljust(37, '-') %>
<% entity.attachments.each do |attachment| -%>
<%= attachment.filename %> (<%= number_to_human_size attachment.filesize %>)
<% end -%>
<% end -%>