#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)
by , 18 years ago
Attachment: | field_form_parameters.patch added |
---|
comment:1 by , 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 , 18 years ago
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 by , 18 years ago
Sorry, that resolution decision was made by me. Was accidently not logged in.
comment:4 by , 17 years ago
Cc: | added |
---|
comment:5 by , 16 years ago
Cc: | removed |
---|
patch for the extra field parameters