Ticket #6674: 6674.diff

File 6674.diff, 979 bytes (added by Tim Graham, 15 years ago)

update of patch to apply cleanly to trunk

  • 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' ...>``
     
    8895
    8996    Checkbox: ``<input type='checkbox' ...>``
    9097
     98    Takes one optional argument:
     99
     100    .. attribute:: CheckboxInput.check_test
     101     
     102        A callable that takes the value of the CheckBoxInput
     103        and returns ``True`` if the checkbox should be checked for
     104        that value.
     105
    91106.. class:: Select
    92107
    93108    Select widget: ``<select><option ...>...</select>``
Back to Top