From 7223ccb92b4b59004a89ab73493ec93b0d2d2cbd Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 14 Jul 2019 21:35:36 +0200 Subject: [PATCH] add helper for CXM_Form_Field inpit with missing HTML_Id --- web/CXM_form.anubis | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/web/CXM_form.anubis b/web/CXM_form.anubis index bac8730..954aaa9 100644 --- a/web/CXM_form.anubis +++ b/web/CXM_form.anubis @@ -321,6 +321,10 @@ public define CXM_Form_Field = input([], label, html_Id(n.name), n, init_value, width, mand). public define CXM_Form_Field + input(HTML_Label label, HTML_Id id, WebArgName n, InitialValue init_value, Width width, Mandatory mand) + = input([], label, id, n, init_value, width, mand). + +public define CXM_Form_Field input(List(CoreAttrs) options, HTML_Label label, WebArgName n, InitialValue init_value, Width width, Mandatory mand) = input(options, label, html_Id(n.name), n, init_value, width, mand). -- libgit2 0.21.4