Issue summary
Issue summary:
FormPage at bakerydemo/base/models.py:507 has no intro or introduction field, yet bakerydemo/templates/base/form_page.html:12-14 attempts to render page.intro. The {% if page.intro %} conditional is always False, meaning any introductory text configured for a form page is silently never displayed in the rendered template.
Steps to reproduce
- Open the Wagtail admin and create a new FormPage under the Bakery site.
- Add some body content — notice there's no Introduction field available in the editor.
- Visit the published FormPage on the frontend.
- Observe that the page.body content renders, but any expected introductory text area is missing from both the editor and the rendered page.
- Inspect
bakerydemo/base/models.py:507 — FormPage has image, body, thank_you_text, and FormField inlines, but no intro or introduction field.
- Inspect
bakerydemo/templates/base/form_page.html:12-14 — the template checks for {% if page.intro %} and renders it, but it's dead code since the field doesn't exist.
Additional information
No response
Can be reproduced
Yes, on a fresh Wagtail project
Technical details
- Python version: Run
python --version.
- Django version: Look in your requirements.txt, or run
pip show django | grep Version.
- Wagtail version: Look at the bottom of the Settings menu in the Wagtail admin, or run
pip show wagtail | grep Version:.
- Browser version: You can use https://www.whatsmybrowser.org/ to find this out.
Working on this
If you would like to contribute to this issue, follow these steps:
- Confirm that the issue is reproducible, either on a fresh Wagtail project or the bakerydemo.
- Once confirmed, view our contributing guidelines, add a comment to the issue once you're ready to start.
Issue summary
Issue summary:
FormPage at
bakerydemo/base/models.py:507has no intro or introduction field, yetbakerydemo/templates/base/form_page.html:12-14attempts to render page.intro. The{% if page.intro %}conditional is always False, meaning any introductory text configured for a form page is silently never displayed in the rendered template.Steps to reproduce
bakerydemo/base/models.py:507— FormPage has image, body, thank_you_text, and FormField inlines, but no intro or introduction field.bakerydemo/templates/base/form_page.html:12-14— the template checks for{% if page.intro %}and renders it, but it's dead code since the field doesn't exist.Additional information
No response
Can be reproduced
Yes, on a fresh Wagtail project
Technical details
python --version.pip show django | grep Version.pip show wagtail | grep Version:.Working on this
If you would like to contribute to this issue, follow these steps: