From 3b23eec0b1204d9e9d88e65e08facf5a1081592a Mon Sep 17 00:00:00 2001 From: totoro Date: Tue, 26 Apr 2016 08:37:00 +0200 Subject: [PATCH] add more default constructor for text_input --- web/CXM_making_a_web_site.anubis | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 377d422..bc7e5fc 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -1252,6 +1252,8 @@ public type HTML_In_Form: 'HTML_In_Form' defines all the elements you may put within a form. We define a convenience function: +public define HTML_In_Form text_input(HTML_Label label, HTML_Id id, WebArgName name, InitialValue init, Int width) = text_input([], label, id, name, init, width). + public define HTML_In_Form literal(Printable_tree t) = literal_pt(t). public define HTML_In_Form image(String url) = image([], url, url). -- libgit2 0.21.4