Commit 9b054f8196d6d52e72f4f41c0e308b268f7ddb6b
1 parent
f248dfbb
[+] add function for html th(CoreAttrs attr). Let add th with only attributes
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
web/making_a_web_site.anubis
| ... | ... | @@ -1756,6 +1756,7 @@ public define HTML_Off_Form th(List(CoreAttrs) attrs, List(HTML_Off_Form) conten |
| 1756 | 1756 | public define HTML_Off_Form th(List(CoreAttrs) attrs, HTML_Off_Form content) = html_tag("th", attrs, [content]). |
| 1757 | 1757 | public define HTML_Off_Form th(CoreAttrs attr, List(HTML_Off_Form) content) = html_tag("th", [attr], content). |
| 1758 | 1758 | public define HTML_Off_Form th(CoreAttrs attr, HTML_Off_Form content) = html_tag("th", [attr], [content]). |
| 1759 | +public define HTML_Off_Form th(CoreAttrs attr) = html_tag("th", [attr], []). | |
| 1759 | 1760 | public define HTML_Off_Form th(List(HTML_Off_Form) content) = html_tag("th", [], content). |
| 1760 | 1761 | public define HTML_Off_Form th(HTML_Off_Form content) = html_tag("th", [], [content]). |
| 1761 | 1762 | public define HTML_Off_Form th(String string) = html_tag("th", [], [text(string)]). | ... | ... |