Feat(UI): Blog with article page and Newsletter signup form.

This commit is contained in:
2025-08-09 19:07:58 +01:00
parent 2541aaf849
commit 36d9eb6888
51 changed files with 3434 additions and 892 deletions

View File

@@ -66,11 +66,11 @@ class Contact_Form(SQLAlchemy_ABC, Base):
if json is None: return form
form.id_contact_form = -1
form.email = json[cls.FLAG_EMAIL]
form.name_contact = json[cls.FLAG_NAME_CONTACT]
form.name_company = json[cls.FLAG_NAME_COMPANY]
form.message = json[cls.FLAG_MESSAGE]
form.receive_marketing_communications = json[cls.FLAG_RECEIVE_MARKETING_COMMUNICATIONS]
form.active = av.input_bool(json[cls.FLAG_ACTIVE], cls.FLAG_ACTIVE, _m)
form.name_contact = json.get(cls.FLAG_NAME_CONTACT, 'No Contact Name')
form.name_company = json.get(cls.FLAG_NAME_COMPANY, 'No Company Name')
form.message = json.get(cls.FLAG_MESSAGE, 'No Message')
form.receive_marketing_communications = json.get(cls.FLAG_RECEIVE_MARKETING_COMMUNICATIONS, True)
form.active = av.input_bool(json.get(cls.FLAG_ACTIVE, True), cls.FLAG_ACTIVE, _m)
form.created_on = json.get(cls.FLAG_CREATED_ON, None)
return form