diff --git a/adhocracy-plus/templates/a4dashboard/base_form_project.html b/adhocracy-plus/templates/a4dashboard/base_form_project.html index c9c7a1f8a..7f399afab 100644 --- a/adhocracy-plus/templates/a4dashboard/base_form_project.html +++ b/adhocracy-plus/templates/a4dashboard/base_form_project.html @@ -14,7 +14,7 @@

{{ view.title }}

{{ error }} {% endfor %} -
+ {% csrf_token %} {% include view.form_template_name %} diff --git a/apps/budgeting/templates/a4_candy_budgeting/includes/proposal_form.html b/apps/budgeting/templates/a4_candy_budgeting/includes/proposal_form.html index d9d1a61af..8a60e1487 100644 --- a/apps/budgeting/templates/a4_candy_budgeting/includes/proposal_form.html +++ b/apps/budgeting/templates/a4_candy_budgeting/includes/proposal_form.html @@ -1,5 +1,5 @@ {% load i18n %} - + {% csrf_token %} {{ form.media }} diff --git a/apps/ideas/templates/a4_candy_ideas/idea_moderate_form.html b/apps/ideas/templates/a4_candy_ideas/idea_moderate_form.html index 476e52173..594c73025 100644 --- a/apps/ideas/templates/a4_candy_ideas/idea_moderate_form.html +++ b/apps/ideas/templates/a4_candy_ideas/idea_moderate_form.html @@ -29,7 +29,7 @@

{% translate 'Feedback on this idea' %}

- + {% csrf_token %} {% for form in forms.values %} {{ form.media }} diff --git a/apps/ideas/templates/a4_candy_ideas/includes/idea_form.html b/apps/ideas/templates/a4_candy_ideas/includes/idea_form.html index d18fbcef1..b1a2d3356 100644 --- a/apps/ideas/templates/a4_candy_ideas/includes/idea_form.html +++ b/apps/ideas/templates/a4_candy_ideas/includes/idea_form.html @@ -1,5 +1,5 @@ {% load i18n %} - + {% csrf_token %} {{ form.media }} diff --git a/apps/interactiveevents/templates/a4_candy_interactive_events/extrafields_dashboard_form.html b/apps/interactiveevents/templates/a4_candy_interactive_events/extrafields_dashboard_form.html index 520bd7d69..135f02378 100644 --- a/apps/interactiveevents/templates/a4_candy_interactive_events/extrafields_dashboard_form.html +++ b/apps/interactiveevents/templates/a4_candy_interactive_events/extrafields_dashboard_form.html @@ -9,7 +9,7 @@

{% translate 'Edit live stream' %}

{% endfor %} - + {% csrf_token %} {% include 'a4_candy_contrib/includes/form_field.html' with field=form.live_stream %} diff --git a/apps/mapideas/templates/a4_candy_mapideas/includes/mapidea_form.html b/apps/mapideas/templates/a4_candy_mapideas/includes/mapidea_form.html index c19a9b341..eeef7ca4e 100644 --- a/apps/mapideas/templates/a4_candy_mapideas/includes/mapidea_form.html +++ b/apps/mapideas/templates/a4_candy_mapideas/includes/mapidea_form.html @@ -1,5 +1,5 @@ {% load i18n %} - + {% csrf_token %} {{ form.media }} diff --git a/apps/mapideas/templates/a4_candy_mapideas/mapidea_moderate_form.html b/apps/mapideas/templates/a4_candy_mapideas/mapidea_moderate_form.html index 2ce63860a..1e0d766a8 100644 --- a/apps/mapideas/templates/a4_candy_mapideas/mapidea_moderate_form.html +++ b/apps/mapideas/templates/a4_candy_mapideas/mapidea_moderate_form.html @@ -28,7 +28,7 @@

{% translate 'Moderate idea' %}

- + {% csrf_token %} {% for form in forms.values %} {{ form.media }} diff --git a/apps/newsletters/templates/a4_candy_newsletters/restricted_newsletter_dashboard_form.html b/apps/newsletters/templates/a4_candy_newsletters/restricted_newsletter_dashboard_form.html index f5fcd3b1e..b1229346a 100644 --- a/apps/newsletters/templates/a4_candy_newsletters/restricted_newsletter_dashboard_form.html +++ b/apps/newsletters/templates/a4_candy_newsletters/restricted_newsletter_dashboard_form.html @@ -7,7 +7,7 @@

{% translate "Create Newsletter" %}

- + {% csrf_token %} {% include 'a4_candy_contrib/includes/form_field.html' with field=form.project %} diff --git a/apps/offlineevents/templates/a4_candy_offlineevents/includes/offlineevent_form.html b/apps/offlineevents/templates/a4_candy_offlineevents/includes/offlineevent_form.html index 0761dd600..27f7b1ab2 100644 --- a/apps/offlineevents/templates/a4_candy_offlineevents/includes/offlineevent_form.html +++ b/apps/offlineevents/templates/a4_candy_offlineevents/includes/offlineevent_form.html @@ -1,5 +1,5 @@ {% load i18n %} - + {% csrf_token %} {% include 'a4_candy_contrib/includes/form_field.html' with field=form.event_type %} diff --git a/changelog/7632.md b/changelog/7632.md index 01d69a994..9341c6180 100644 --- a/changelog/7632.md +++ b/changelog/7632.md @@ -21,4 +21,6 @@ - update a4 to ckeditor5-transition-a4 - add image validator which validates that all img tags have the alt attribute set to all ckedito5 fields - +- disable browser-side form checks for forms which use ckeditor by adding + `novalidate` to them This is necessary as ckeditor form fields which are + required will block form submission otherwise.