Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#13037 closed (fixed)

Documentation missing for the form field-method ``css_classes``

Reported by: Marcus Fredriksson Owned by: nobody
Component: Documentation Version: 1.2-beta
Severity: Keywords: forms
Cc: Gabriel Hurley Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

When outputting forms without using any of the as_*() methods, it's really handy to know about the css_classes-method on form fields. But it seems like it's not documented anywhere.

I've added a small patch (which probably contains some grammatical errors) that gives a brief description of the method.

Attachments (1)

css_classes_documentation.diff (553 bytes ) - added by Marcus Fredriksson 14 years ago.

Download all attachments as: .zip

Change History (4)

by Marcus Fredriksson, 14 years ago

comment:1 by Gabriel Hurley, 14 years ago

Cc: Gabriel Hurley added
Patch needs improvement: set
Triage Stage: UnreviewedAccepted

The method should definitely be documented, but the current patch has typos and the language is a bit confusing. I would also suggest documenting it with the .. method syntax.

comment:2 by Russell Keith-Magee, 14 years ago

Resolution: fixed
Status: newclosed

(In [12707]) Fixed #13037 -- Added documentation for the css_classes() helper class. Thanks to marcusf for the report.

comment:3 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top