Commit f45ea158fbb0a9512d06a23c727f432683552225
1 parent
efe7ae6f
Re-adding the 'o' prefix for radio button's name
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
calexium_lib/web/CXM_making_a_web_site.anubis
| ... | ... | @@ -3711,9 +3711,9 @@ define Printable_tree |
| 3711 | 3711 | |
| 3712 | 3712 | radio_button(options, label_text, id, n, v, c) then |
| 3713 | 3713 | [ "<label for=\"",id,"\">",label_text,"</label>", |
| 3714 | - "<input type=radio name=\"",n,"\" id=\"",id,"\" value=\"",v,"\"",(if c then " checked=\"checked\"" else ""),format_attrs(options),">"], | |
| 3714 | + "<input type=radio name=\"o",n,"\" id=\"",id,"\" value=\"",v,"\"",(if c then " checked=\"checked\"" else ""),format_attrs(options),">"], | |
| 3715 | 3715 | radio_button_r(options, label_text, id, n, v, c) then |
| 3716 | - [ "<input type=radio name=\"",n,"\" id=\"",id,"\" value=\"",v,"\"",(if c then " checked=\"checked\"" else ""),format_attrs(options),">", | |
| 3716 | + [ "<input type=radio name=\"o",n,"\" id=\"",id,"\" value=\"",v,"\"",(if c then " checked=\"checked\"" else ""),format_attrs(options),">", | |
| 3717 | 3717 | "<label for=\"",id,"\">",label_text,"</label>"], |
| 3718 | 3718 | check_box(options, label_text, id, n, v, c) then |
| 3719 | 3719 | [ if length(label_text) > 0 then ["<label for=\"",id,"\">",label_text,"</label>"] else [""], | ... | ... |