ข้ามไปเนื้อหา

ผลต่างระหว่างรุ่นของ "CuneiForm"

บรรทัดที่ 448: บรรทัดที่ 448:
==== Radios ====
==== Radios ====


[[ไฟล์:Form_BoolField.png|300px|thumb|center|alt=Checkboxes and toggles created via 'render_check' and 'render_toggle'.|Checkboxes and toggles created via 'render_check' and 'render_toggle'.]]
[[ไฟล์:Form_RadioField.png|300px|thumb|center|alt=Radio fields created via 'render_radio' (with 2 columns).|Radio fields created via 'render_radio' (with 2 columns).]]


'''DO NOT''' rely on argument order farther than ''form'' and ''blank'', '''ALWAYS PROVIDE''' argument keywords.
'''DO NOT''' rely on argument order farther than ''form'' and ''blank'', '''ALWAYS PROVIDE''' argument keywords.
บรรทัดที่ 454: บรรทัดที่ 454:
'''<syntaxhighlight lang="javascript">
'''<syntaxhighlight lang="javascript">
render_radio(form, blank,
render_radio(form, blank,
                        field_modal=false, field_tab=false,
            field_modal=false, field_tab=false,
                        label_width="105px", headless=false, col=1,
            label_width="105px", headless=false, col=1,
                        hidden=false, tabindex=false,
            hidden=false, tabindex=false,
                        force_fat=false, force_slim=false,
            force_fat=false, force_slim=false,
                        disabled=false)
            disabled=false)
</syntaxhighlight>'''
</syntaxhighlight>'''