I did not found any answer to this. So is there a way in Wagtail to have an AbstractEmailForm
without AbstractFormField
(for example, can I hard code them into AbstractEmailForm
? I know that AbstractEmailField
has some variables that Django
requires). I just need to have a contact form only with email
field, I dont need to set fields dynamically.
And the second question: How do I set permission for that form page so that only superuser can edit the form page?(And the translated version too? There are a lot of answers to this, but I don't actually understand how to do it with AbstractEmailForm
).
Thanks a lot!