#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)
Change History (6)
Changed 16 years ago by
Attachment: | field_form_parameters.patch added |
---|
comment:1 Changed 16 years ago by
Summary: | Adding rows, cols and lenght attributes for text fields → [patch] Adding rows, cols and lenght attributes for text fields |
---|
comment:2 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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 Changed 16 years ago by
Sorry, that resolution decision was made by me. Was accidently not logged in.
comment:4 Changed 15 years ago by
Cc: | hv@… added |
---|
comment:5 Changed 14 years ago by
Cc: | hv@… removed |
---|
patch for the extra field parameters