From 290f8559e559b44c37275de3a108d9cfc579b247 Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 28 Jul 2018 15:11:48 +0200 Subject: [PATCH] add helper for table with only one option and row add helper for strong with only one CoreAtrrs --- web/CXM_making_a_web_site.anubis | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/web/CXM_making_a_web_site.anubis b/web/CXM_making_a_web_site.anubis index 8297531..639e787 100644 --- a/web/CXM_making_a_web_site.anubis +++ b/web/CXM_making_a_web_site.anubis @@ -2237,6 +2237,8 @@ public define HTML_Off_Form span(Int i) // public define HTML_Off_Form strong(List(CoreAttrs) attrs, List(HTML_Off_Form) content) = html_tag("strong", attrs, content). public define HTML_Off_Form strong(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("strong", attrs, [content]). +public define HTML_Off_Form strong(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("strong", [attr], content). +public define HTML_Off_Form strong(CoreAttrs attr, HTML_Off_Form content) = html_tag("strong", [attr], [content]). public define HTML_Off_Form strong(List(HTML_Off_Form) content) = html_tag("strong", [], content). public define HTML_Off_Form strong(HTML_Off_Form content) = html_tag("strong", [], [content]). @@ -2406,6 +2408,14 @@ public define HTML_Off_Form public define HTML_Off_Form table ( + Table_Option option, + HTML_Row(HTML_Off_Form) row + ) = + table([option], empty, [row], empty). + +public define HTML_Off_Form + table + ( HTML_Header_Row(HTML_Off_Form) h_row, List(HTML_Row(HTML_Off_Form)) rows ) = -- libgit2 0.21.4