Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个页面上有多个独立的表单——在我的例子中,没有可提交的表单字段,而是每个子表单都有一些 HTML 内容,然后是一个按钮。主窗体没有按钮。
z3c.form 文档说需要一个自定义模板来呈现子表单。另一方面,显然 plone.z3c.form 包提供了一个默认的子表单模板并将其注册为可以使用的适配器。
如何使用默认(z3c.form 和/或 plone.z3c.form)模板来呈现带有子表单的表单?