From 6df362a0e4460d77a097d7d90353c2672939c1f4 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Mon, 24 Feb 2020 15:24:29 -0700 Subject: [PATCH 1/3] Fix for `enctype` in multipart forms --- CHANGELOG.md | 2 ++ templates/forms/default/form.html.twig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9c2559c..ad8433e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ 1. [](#new) * Pass phpstan level 1 tests +1. [](#bugfix) + * Fix for `enctype` in multipart forms [#408](https://github.com/getgrav/grav-plugin-form/issues/408) # v4.0.2 ## 02/03/2020 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 %} From 4ad413145d907e8a05293396ce9c104459554beb Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 25 Feb 2020 15:17:09 -0700 Subject: [PATCH 2/3] update changlog --- CHANGELOG.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad8433e0..4c63f19a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,15 @@ +# v4.0.3 +## 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 -1. [](#bugfix) - * Fix for `enctype` in multipart forms [#408](https://github.com/getgrav/grav-plugin-form/issues/408) - + # v4.0.2 ## 02/03/2020 From bff8d1ae7e6fec52000b9101a82a1c967d12e319 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 25 Feb 2020 15:17:42 -0700 Subject: [PATCH 3/3] prepare for release --- CHANGELOG.md | 2 +- blueprints.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c63f19a..60a0385d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# v4.0.3 +# v4.0.4 ## 02/25/2020 1. [](#bugfix) 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