Refactor form/page component structure for Buefy/Vue.js
this also moves Execute Batch from the form buttons area, to object helper
This commit is contained in:
parent
4cadeb8e5d
commit
cc79fe76fd
12 changed files with 270 additions and 275 deletions
|
@ -1,6 +1,6 @@
|
|||
## -*- coding: utf-8; -*-
|
||||
|
||||
<script type="text/x-template" id="tailbone-form-template">
|
||||
<script type="text/x-template" id="${form.component}-template">
|
||||
<div>
|
||||
% if not form.readonly:
|
||||
${h.form(form.action_url, id=dform.formid, method='post', enctype='multipart/form-data', **form_kwargs)}
|
||||
|
@ -83,7 +83,7 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
|
||||
let TailboneFormData = {
|
||||
let ${form.component_studly}Data = {
|
||||
|
||||
## TODO: ugh, this seems pretty hacky. need to declare some data models
|
||||
## for various field components to bind to...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue