From d0c372c0967fc2f8a22fc1377632c4b51b26846d Mon Sep 17 00:00:00 2001 From: totoro Date: Wed, 1 Apr 2020 10:04:40 +0900 Subject: [PATCH] add alternative fields_set in WEB_Session. This let create some fields gathered into named fields_set. --- web/CXM_making_a_web_site.anubis | 5 +++++ web/CXM_web_session.anubis | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------ web/types/web_session.anubis | 33 ++++++++++++++++++++++++++++----- 3 files changed, 153 insertions(+), 17 deletions(-) diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 3d5e9c6..091baeb 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -1392,6 +1392,7 @@ public define HTML_Off_Form footer(HTML_Off_Form content) //
public define HTML_Off_Form form(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("form", attrs, content). +public define HTML_Off_Form form(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("form", [attr], content). //
public define HTML_Off_Form header(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("header", attrs, content). @@ -1527,7 +1528,11 @@ public define HTML_Off_Form strong(HTML_Off_Form content) //