diff --git a/fragify.py b/fragify.py index 92d4ed5..f78ef49 100644 --- a/fragify.py +++ b/fragify.py @@ -67,11 +67,10 @@ class FragifyApp(BaseTemplateResource): def on_post(self, req, resp): """Handle form submission and generate link""" try: - # Parse form data - form_data = req.get_media() - publicbody_id = form_data.get('publicbody_id', '') - subject = form_data.get('subject', '') - body = form_data.get('body', '') + # Parse form data - use get_param for form fields + publicbody_id = req.get_param('publicbody_id', default='') + subject = req.get_param('subject', default='') + body = req.get_param('body', default='') # Generate FragDenStaat.de link base_url = "https://fragdenstaat.de/anfrage-stellen/" diff --git a/templates/base.html b/templates/base.html index 8cc621c..39d5d25 100644 --- a/templates/base.html +++ b/templates/base.html @@ -67,8 +67,8 @@ display: none; } .footer { - background: rgba(255, 255, 255, 0.9); - backdrop-filter: blur(10px); + background: transparent; + margin-top: 3rem; } .footer-links a { font-size: 0.9rem; @@ -83,6 +83,13 @@ .footer-text a:hover { color: #667eea !important; } + .footer-text a { + text-decoration: underline; + } + .footer-text { + font-size: 0.8rem; + margin-bottom: 2rem; + } .legal-content { text-align: left; line-height: 1.6; @@ -98,6 +105,9 @@ .legal-content ul { margin-bottom: 1rem; } + .main-container { + margin-bottom: 4rem; + } {% block extra_css %}{% endblock %} @@ -108,7 +118,7 @@ -