Tuesday, March 23, 2021

Re: Create email template with the click of a button

Hello,

Thank you for your help guys.

I've went the Django form route instead of doing this in JS.

I'll create the form dynamically with template and form.

Kind regards

Smiley kirjutas esmaspäev, 22. märts 2021 kl 16:47:03 UTC+2:
Hello,

Correct. I want to the user to click a button and have a form appear where the user can compose an email.

Gmail uses javascript to render their form on top of the inbox because they don't want you to have to leave the inbox page. You probably don't have that requirement.

Let me know if that works for you.

I don't really want to redirect the user elsewhere. I would really like to do the Gmail way because I like it and thought maybe it's possible with Django.

Nonetheless, I will try out your idea because my curiosity wants to know whether it's worth the effort to do it the Gmail way or go easier route way by doing it just as you explained.

Let me know what you think of it, the Gmail way idea. 

Kind regards

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dc7306cf-7e14-41e3-b569-9d9f4d571d36n%40googlegroups.com.

No comments:

Post a Comment