Sportheim mieten: Buchungsseite mit Anfrageformular
Neue Seite /sportheimbuchung mit Bento-Layout (Fotos, Lage, Ausstattung) und einem Buchungsanfrage-Formular nach Projektkonvention (form-field-Komponente, Status-Region, Honeypot + ft-Token, Whitelist-Validierung, Rate-Limiting, PRG). Versand via Brevo SMTP über app/actions/sportheimbuchung-senden.php, POST-Route in index.php. form-field um min/max-Attribute erweitert (Personenzahl-Feld). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HGzc6GhWhmLJt1jC2q1SRZ
This commit is contained in:
@@ -32,6 +32,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && $slug === 'mitglied-werden-senden')
|
||||
require APP_PATH . '/actions/membership-submit.php';
|
||||
exit;
|
||||
}
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'POST' && $slug === 'sportheimbuchung-senden') {
|
||||
require APP_PATH . '/actions/sportheimbuchung-senden.php';
|
||||
exit;
|
||||
}
|
||||
|
||||
$routes = require APP_PATH . '/routes.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user