Newsletter form in the footer, as like in shopware 5?

I want to show a simplified version of the newsletter subscription form in the footer. I am not able to do it via a simple sw_extend nor a sw_include, inside a custom footer.twig.html. How would i be able to?

     {% sw_extends '@Storefront/storefront/element/cms-element-form/form-types/newsletter-form.html.twig' %}
     {% sw_include '@Storefront/storefront/element/cms-element-form/form-types/newsletter-form.html.twig' %}

 

Try this: 

                {{ sw_csrf('frontend.form.newsletter.register.handle') }}
                {% set formViolations = app.request.get('errors') %}
                
                
                
                    
                        
                            {{ "account.personalMailPlaceholder"|trans }}{{ "general.required"|trans }}
                        
                        
                    
                    
                        {{ "newsletter.formSubmit"|trans }}

 

1 „Gefällt mir“