Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#13037 closed (fixed)

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

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


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 marcusf 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by marcusf

comment:1 Changed 6 years ago by gabrielhurley

  • Cc gabrielhurley added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to Accepted

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 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 5 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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