diff --git a/tailbone/static/js/tailbone.buefy.form.js b/tailbone/static/js/tailbone.buefy.form.js new file mode 100644 index 00000000..e6aa7fa8 --- /dev/null +++ b/tailbone/static/js/tailbone.buefy.form.js @@ -0,0 +1,7 @@ + +let TailboneForm = { + template: '#tailbone-form-template', + methods: {} +} + +let TailboneFormData = {} diff --git a/tailbone/templates/form.mako b/tailbone/templates/form.mako index 290c989a..52a5e297 100644 --- a/tailbone/templates/form.mako +++ b/tailbone/templates/form.mako @@ -31,17 +31,20 @@ %def> -<%def name="make_buefy_form_app()"> +<%def name="modify_tailbone_form()"> + ## NOTE: if you override this, must use @@ -51,5 +54,5 @@ ${self.render_form_complete()} % if form.use_buefy: - ${self.make_buefy_form_app()} + ${self.make_tailbone_form_app()} % endif diff --git a/tailbone/templates/forms/deform_buefy.mako b/tailbone/templates/forms/deform_buefy.mako index 56be0a31..69767de9 100644 --- a/tailbone/templates/forms/deform_buefy.mako +++ b/tailbone/templates/forms/deform_buefy.mako @@ -1,6 +1,6 @@ ## -*- coding: utf-8; -*- - -