def __init__(self, *args, **kwargs):
super(SponsorContactForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
self.helper.layout = Layout(
Field("responded"),
Field("companyName"),
Field("contactEMail"),
HTML("<p class=\"text-info\">Please ensure the correctness of the address. It will later be used in the billing process.</p>"),
Field("street"),
Field("zipcode"),
Field("city"),
Field("country"),
Field("contactPersonFirstname"),
Field("contactPersonSurname"),
Field("contactPersonGender"),
Field("contactPersonEmail"),
Field("contactPersonLanguage"),
Field("template"),
Field("comment")
)
self.helper.add_input(Submit("Save", "Save"))
评论列表
文章目录