feat: overhaul how form vue template is rendered
now a page template can add `<%def name="form_vue_fields()">` and the form should inspect/discover and use that instead of its default
This commit is contained in:
parent
9edf6f298c
commit
49c001c9ad
9 changed files with 300 additions and 109 deletions
9
tests/forms/main_template.mako
Normal file
9
tests/forms/main_template.mako
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
<%inherit file="/form.mako" />
|
||||
|
||||
<%def name="page_content()">
|
||||
|
||||
RANDOM TEXT
|
||||
|
||||
${parent.page_content()}
|
||||
</%def>
|
||||
Loading…
Add table
Add a link
Reference in a new issue