diff --git a/src/Kunstmaan/CookieBundle/Resources/skeleton/legal/Resources/views/PageParts/LegalOptInPagePart/view.html.twig b/src/Kunstmaan/CookieBundle/Resources/skeleton/legal/Resources/views/PageParts/LegalOptInPagePart/view.html.twig index 294935f04d..c7cb3ef96e 100644 --- a/src/Kunstmaan/CookieBundle/Resources/skeleton/legal/Resources/views/PageParts/LegalOptInPagePart/view.html.twig +++ b/src/Kunstmaan/CookieBundle/Resources/skeleton/legal/Resources/views/PageParts/LegalOptInPagePart/view.html.twig @@ -1,5 +1,5 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {{ 'kuma.cookie.pageparts.optin.policy' | trans }} diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/CheckboxPagePart/view.html.twig b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/CheckboxPagePart/view.html.twig index cdc98caff6..3bfd73d9d9 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/CheckboxPagePart/view.html.twig +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/CheckboxPagePart/view.html.twig @@ -1,3 +1,3 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {% endif %} diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/ChoicePagePart/view.html.twig b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/ChoicePagePart/view.html.twig index f1d8ccb990..6e289c06f9 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/ChoicePagePart/view.html.twig +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/ChoicePagePart/view.html.twig @@ -1,4 +1,4 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {{ form_errors(frontendform['formwidget_'~resource.uniqueId]) }} {% endif %} diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/EmailPagePart/view.html.twig b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/EmailPagePart/view.html.twig index cdc98caff6..3bfd73d9d9 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/EmailPagePart/view.html.twig +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/EmailPagePart/view.html.twig @@ -1,3 +1,3 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {% endif %} diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/FileUploadPagePart/view.html.twig b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/FileUploadPagePart/view.html.twig index cdc98caff6..3bfd73d9d9 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/FileUploadPagePart/view.html.twig +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/FileUploadPagePart/view.html.twig @@ -1,3 +1,3 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {% endif %} diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/MultiLineTextPagePart/view.html.twig b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/MultiLineTextPagePart/view.html.twig index cdc98caff6..3bfd73d9d9 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/MultiLineTextPagePart/view.html.twig +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/MultiLineTextPagePart/view.html.twig @@ -1,3 +1,3 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {% endif %} diff --git a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/SingleLineTextPagePart/view.html.twig b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/SingleLineTextPagePart/view.html.twig index cdc98caff6..3bfd73d9d9 100644 --- a/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/SingleLineTextPagePart/view.html.twig +++ b/src/Kunstmaan/GeneratorBundle/Resources/SensioGeneratorBundle/skeleton/pagepart/Resources/views/PageParts/SingleLineTextPagePart/view.html.twig @@ -1,3 +1,3 @@ {% if frontendform is defined %} - {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : frontendformobject.submitted } }) }} + {{ form_widget(frontendform['formwidget_'~resource.uniqueId], { 'attr' : {'bound' : isSubmitted } }) }} {% endif %}