Open rrelmy opened 7 years ago
+1
Also access to globals data would be nice too
You're seeing behind the curtain when it comes to automagic emails. A lot of things are "dumped" into the view layer to give you access to them. If they were loaded on demand, the whole system would be much slower. We can certainly look at making more things available, but they're be "dumped" into the template too, so we'd have to either get right of the Automagic emails (as they were added as a nice, simple feature), or totally rework them. Just letting you know that it's not a quick little thing, but we've thought about it.
Automagic mails
Currently the available variables are dumped into the mail without any 💔.
This could be improved if the available labels from the formset would be used instead of the key. Also there is no need to add the variables
now
andtoday
.date
should be enough.Custom form mail template
Access to the form data would be great, so that the Labels and order could be used.