Jump to content

missing closing </form> tag in src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Categories/Blocks/delete_categories_modal.html.twig


philoupin

Recommended Posts

The modal-dialog form used in the BulkAction of the Categories Grid in the Back Office is missing a closing </form> tag.

The consequence is that any additional Modal Dialog being added as a Bulk Action to the Categories Grid cannot open a new <form> tag, as the twig form_widget helper considers itself in an "open" form. This is an issue in a custom module I am currenlty working on.

Fix: on line 54 of src/PrestaShopBundle/Resources/views/Admin/Sell/Catalog/Categories/Blocks/delete_categories_modal.html.twig there should be a form closure with:

  {{ form_end(deleteCategoriesForm) }}

This bug is present in PS 8.1. and still in the current PS 9.

Where can I suggest such a correction as this forum apparently is only for discussion?

Many thanks

P.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...