Ticket #6674: widget-doc.diff

File widget-doc.diff, 979 bytes (added by Tim Graham, 16 years ago)

documentation for render_doc and check_test

  • docs/ref/forms/widgets.txt

     
    2424
    2525    Password input: ``<input type='password' ...>``
    2626
     27    Takes one optional argument:
     28
     29    .. attribute:: PasswordInput.render_value
     30
     31        Determines whether the widget will have a value filled in when the
     32        form is re-displayed after a validation error (default is ``True``).
     33
    2734.. class:: HiddenInput
    2835
    2936    Hidden input: ``<input type='hidden' ...>``
     
    8794
    8895    Checkbox: ``<input type='checkbox' ...>``
    8996
     97    Takes one optional argument:
     98
     99    .. attribute:: CheckboxInput.check_test
     100     
     101        A callable that takes the value of the CheckBoxInput
     102        and returns ``True`` if the checkbox should be checked for
     103        that value.
     104
    90105.. class:: Select
    91106
    92107    Select widget: ``<select><option ...>...</select>``
Back to Top