Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#2596 closed enhancement (wontfix)

[patch] Adding rows, cols and lenght attributes for text fields

Reported by: norvegh Owned by: Adrian Holovaty
Component: contrib.admin Version: 0.95
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There have been some suggestions before to implement the rows, cols and length attributes for text fields that would control the size of the textboxes on the admin interface.
The supplied patch implements the following new paramters for text fields:

form_type: can be either 'input' or 'textarea', it controls whether an input box or a textarea is used for rendering this field in the admin interface
form_length: the length of the input box
form_rows: the rows parameter for the textarea box
form_cols: the cols parameter for the textarea box

Attachments (1)

field_form_parameters.patch (2.5 KB ) - added by norvegh 18 years ago.
patch for the extra field parameters

Download all attachments as: .zip

Change History (6)

by norvegh, 18 years ago

Attachment: field_form_parameters.patch added

patch for the extra field parameters

comment:1 by anonymous, 18 years ago

Summary: Adding rows, cols and lenght attributes for text fields[patch] Adding rows, cols and lenght attributes for text fields

comment:2 by anonymous, 18 years ago

Resolution: wontfix
Status: newclosed

When this has been raised on the mailing lists in the past, we have generally asked that somebody comes up with a better way of specifying all this presentation information than just putting it in as more and more attributes in the model. Although there already some presentation attributes on fields, we would like to stop putting more in.

So there is a bigger problem that needs solving: how to specify default presentation style for models without polluting the field definitions themselves.

comment:3 by Malcolm Tredinnick, 18 years ago

Sorry, that resolution decision was made by me. Was accidently not logged in.

comment:4 by Thomas Güttler <hv@…>, 17 years ago

Cc: hv@… added

comment:5 by Thomas Güttler, 16 years ago

Cc: hv@… removed
Note: See TracTickets for help on using tickets.
Back to Top