mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Make message field optional for all contact forms
This commit is contained in:
parent
09918290f0
commit
c43b2ab774
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ if not isinstance(hcaptcha_data, Mapping) or not hcaptcha_data.get("success", Fa
|
||||||
# form (see the match block below).
|
# form (see the match block below).
|
||||||
contact_name = get_form_value("contactname")
|
contact_name = get_form_value("contactname")
|
||||||
contact_email = get_form_value("contactemail")
|
contact_email = get_form_value("contactemail")
|
||||||
message = get_form_value("message")
|
message = get_form_value("message", "[Keine Nachricht hinterlassen]")
|
||||||
attachment: Optional[tuple[str, bytes]] = None
|
attachment: Optional[tuple[str, bytes]] = None
|
||||||
|
|
||||||
ticket_details = collections.OrderedDict()
|
ticket_details = collections.OrderedDict()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue