Ticket #13037: css_classes_documentation.diff

File css_classes_documentation.diff, 553 bytes (added by Marcus Fredriksson, 14 years ago)
  • docs/ref/forms/api.txt

    diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
    index c313eb5..513000b 100644
    a b when printed::  
    645645    >>> str(f['subject'].errors)
    646646    ''
    647647
     648.. versionadded:: 1.2
     649
     650If the field is required or contain errors, and you've set any or both of the
     651``error_css_class`` and ``required_css_class`` attributes; you can access a
     652string of CSS-classes for the field by calling its ``css_classes`` method.
     653
    648654.. _binding-uploaded-files:
    649655
    650656Binding uploaded files to a form
Back to Top