Commit 42dd94b52dfab7d7e7ff2bd24475ef0b986c2cb7
1 parent
4e513d3a
[~] remove multiple declaration of helpers for CoreAttrs
Showing
2 changed files
with
0 additions
and
17 deletions
Show diff stats
web/making_a_web_site.anubis
| @@ -1309,25 +1309,10 @@ public define CoreAttrs formmethod(FormMethod method) = attr("formmethod", if me | @@ -1309,25 +1309,10 @@ public define CoreAttrs formmethod(FormMethod method) = attr("formmethod", if me | ||
| 1309 | 1309 | ||
| 1310 | 'HTML_Off_Form' defines all the elements you may put outside any form. | 1310 | 'HTML_Off_Form' defines all the elements you may put outside any form. |
| 1311 | 1311 | ||
| 1312 | -public define CoreAttrs method(String value) = attr("method", value). | ||
| 1313 | -public define CoreAttrs for(String value) = attr("for", value). | ||
| 1314 | -public define CoreAttrs placeholder(String value) = attr("placeholder", value). | ||
| 1315 | -public define CoreAttrs action(WEB_Action_Name action)= attr("action", "/"+format_web_action_name(action)). | ||
| 1316 | -public define CoreAttrs action(WEB_Action_Name action, List((String,String)) extra_ops)= attr("formaction", "/"+format_web_action_name(action, extra_ops)). | ||
| 1317 | -public define CoreAttrs formaction(WEB_Action_Name action)= attr("action", "/"+format_web_action_name(action)). | ||
| 1318 | -public define CoreAttrs formaction(WEB_Action_Name action, List((String,String)) extra_ops)= attr("formaction", "/"+format_web_action_name(action, extra_ops)). | ||
| 1319 | -public define CoreAttrs formmethod(String value) = attr("formmethod", value). | ||
| 1320 | -public define CoreAttrs form(String value) = attr("form", value). | ||
| 1321 | - | ||
| 1322 | - | ||
| 1323 | 1312 | ||
| 1324 | public define CoreAttrs method(String value) = attr("method", value). | 1313 | public define CoreAttrs method(String value) = attr("method", value). |
| 1325 | -public define CoreAttrs for(String value) = attr("for", value). | ||
| 1326 | -public define CoreAttrs placeholder(String value) = attr("placeholder", value). | ||
| 1327 | public define CoreAttrs action(WEB_Action_Name action)= attr("action", "/"+format_web_action_name(action)). | 1314 | public define CoreAttrs action(WEB_Action_Name action)= attr("action", "/"+format_web_action_name(action)). |
| 1328 | public define CoreAttrs action(WEB_Action_Name action, List((String,String)) extra_ops)= attr("formaction", "/"+format_web_action_name(action, extra_ops)). | 1315 | public define CoreAttrs action(WEB_Action_Name action, List((String,String)) extra_ops)= attr("formaction", "/"+format_web_action_name(action, extra_ops)). |
| 1329 | -public define CoreAttrs formaction(WEB_Action_Name action)= attr("action", "/"+format_web_action_name(action)). | ||
| 1330 | -public define CoreAttrs formaction(WEB_Action_Name action, List((String,String)) extra_ops)= attr("formaction", "/"+format_web_action_name(action, extra_ops)). | ||
| 1331 | public define CoreAttrs formmethod(String value) = attr("formmethod", value). | 1316 | public define CoreAttrs formmethod(String value) = attr("formmethod", value). |
| 1332 | public define CoreAttrs form(String value) = attr("form", value). | 1317 | public define CoreAttrs form(String value) = attr("form", value). |
| 1333 | 1318 |
web/types/making_a_web_site.anubis
| @@ -580,9 +580,7 @@ public define CoreAttrs height_px(Int value) = attr("height", to_String(value) | @@ -580,9 +580,7 @@ public define CoreAttrs height_px(Int value) = attr("height", to_String(value) | ||
| 580 | public define CoreAttrs alt(String value) = attr("alt", value). | 580 | public define CoreAttrs alt(String value) = attr("alt", value). |
| 581 | 581 | ||
| 582 | public define CoreAttrs for(String value) = attr("for", value). | 582 | public define CoreAttrs for(String value) = attr("for", value). |
| 583 | -public define CoreAttrs type(String value) = attr("type", value). | ||
| 584 | public define CoreAttrs placeholder(String value) = attr("placeholder", value). | 583 | public define CoreAttrs placeholder(String value) = attr("placeholder", value). |
| 585 | -public define CoreAttrs name(String value) = attr("name", value). | ||
| 586 | public define CoreAttrs role(String value) = attr("role", value). | 584 | public define CoreAttrs role(String value) = attr("role", value). |
| 587 | 585 | ||
| 588 | public define CoreAttrs | 586 | public define CoreAttrs |