Opened 6 years ago

Closed 6 years ago

#19852 closed Cleanup/optimization (fixed)

Typo in documentation for FieldSets classes

Reported by: chris.freeman.pdx@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: fieldsets classes
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Documentation syntax seems inconsistent for the fieldsets classes option:

In the FlatpageAdmin example, the syntax is shown as:

'classes': ('collapse',),

In the description of the fieldsets options:

'classes': ['wide', 'extrapretty'],

The difference being parentheses verses square brackets.

Change History (2)

comment:1 Changed 6 years ago by Tim Graham

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

Either works, but I'll change the brackets to parentheses to be consistent.

comment:2 Changed 6 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 1add79bc4007fee658f193b65aea2af2347aab6b:

Fixed #19852 - Updated admin fieldset example for consistency.

Thanks chris.freeman.pdx@ for the suggestion.

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