Commit da54755a59625055066463353b34fbcfcc891c9d
1 parent
3108ab2f
[+] add role(String) helper for CoreAttrs
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
web/making_a_web_site.anubis
| @@ -1195,6 +1195,7 @@ public define CoreAttrs action(WEB_Action_Name action, List((String,String)) ext | @@ -1195,6 +1195,7 @@ public define CoreAttrs action(WEB_Action_Name action, List((String,String)) ext | ||
| 1195 | public define CoreAttrs formmethod(String value) = attr("formmethod", value). | 1195 | public define CoreAttrs formmethod(String value) = attr("formmethod", value). |
| 1196 | public define CoreAttrs form(String value) = attr("form", value). | 1196 | public define CoreAttrs form(String value) = attr("form", value). |
| 1197 | public define CoreAttrs for(String value) = attr("for", value). | 1197 | public define CoreAttrs for(String value) = attr("for", value). |
| 1198 | +public define CoreAttrs role(String value) = attr("role", value). | ||
| 1198 | 1199 | ||
| 1199 | /**********/ | 1200 | /**********/ |
| 1200 | public define HTML format_label(HTML_Label _label, HTML_Id _id). | 1201 | public define HTML format_label(HTML_Label _label, HTML_Id _id). |