diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/contactform_controller.js b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/contactform_controller.js index e69de29b..c3122595 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/contactform_controller.js +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/controllers/contactform_controller.js @@ -0,0 +1,12 @@ +import { Controller } from 'stimulus' + +export default class extends Controller { + + static targets = [ 'form', 'container' ] + + static values = { loading: Boolean } + + submit(e) { + + } +} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html index 0fe4b966..f2d586b5 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ContactForm/Error.html @@ -2,4 +2,16 @@ xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"> +
+ Es ist ein Problem aufgetreten. Bitte versucht es noch einmal. +
++ +
+