Opened 10 years ago

Closed 10 years ago

Last modified 9 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


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 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Marcus Fredriksson

comment:1 Changed 10 years ago by Gabriel Hurley

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 Changed 10 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

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

comment:3 Changed 9 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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