diff --git a/CHANGELOG.md b/CHANGELOG.md index a9c2559c..60a0385d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ +# v4.0.4 +## 02/25/2020 + +1. [](#bugfix) + * Fix for `enctype` in multipart forms [#408](https://github.com/getgrav/grav-plugin-form/issues/408) + # v4.0.3 ## 02/11/2020 1. [](#new) * Pass phpstan level 1 tests - + # v4.0.2 ## 02/03/2020 diff --git a/blueprints.yaml b/blueprints.yaml index 5bc0f035..c714bf31 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,5 +1,5 @@ name: Form -version: 4.0.3 +version: 4.0.4 testing: false description: Enables the forms handling icon: check-square diff --git a/templates/forms/default/form.html.twig b/templates/forms/default/form.html.twig index 9bef26c3..bff7b851 100644 --- a/templates/forms/default/form.html.twig +++ b/templates/forms/default/form.html.twig @@ -101,7 +101,7 @@ {% block embed_form_core %} name="{{ form.name }}" action="{{ action | trim('/', 'right') }}" - method="{{ method }}"{{ multipart }} + method="{{ method }}"{{ multipart|raw }} {% if form.id %}id="{{ form.id }}"{% endif %} {% if form.novalidate %}novalidate{% endif %} {% if form.keep_alive %}data-grav-keepalive="true"{% endif %}