learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
82 stars 57 forks source link

Add ability to enable/disable contact form #3686

Closed willgearty closed 7 months ago

willgearty commented 9 months ago

This adds a tag that allows admins to enable the contact form (the form is now disabled by default). If the form is disabled, the URL now redirects to /contact.html (before POSTs are processed). Since this page didn't exist before (most chapters make their own QSD page), I've now added a default page for this URL. If chapters already had QSD set for this page, it should be used instead. While I was at it, I cleaned up my previous implementation of the default FAQ page (#3174). Both of these pages now properly show various theme and admin toolbar bits that were previously missing.

Fixes #2303 (finally).