Open ywwg opened 5 years ago
The trick with this is that the context depends on whether we fund or not. So we need some sort of ajaxy thing every time the funding amount is changed to update the text.
Maybe it's simple enough to have the box, and then below the box we print out the full email? That seems fine. To do that, we need to update that generated text when either the funding amount or funding notes are changed. And that will all be in the Grant Funding panel.
OK I have a basic design that looks all right. The next step is to make some js to update the preview as people type. The funding amount should always trigger a change. I think it's also ok to update on every keystroke of the funding notes as well, even though that's inefficient.
It's hard to know how the email will read without seeing the other sentences