summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-02 07:11:46 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-02 07:11:46 +0000
commitb8f18b39c29b5297d76037ba8ac69941baaaab86 (patch)
tree49539f64520784da5d870c502cf927f2e674458e
parent0b1a243e53d8db877129ba0aabfeb36dea1a1935 (diff)
downloadbrdo-b8f18b39c29b5297d76037ba8ac69941baaaab86.tar.gz
brdo-b8f18b39c29b5297d76037ba8ac69941baaaab86.tar.bz2
- Patch #364487 by JamesAn: make sure that the 'machine name' text does not wrap.
-rw-r--r--modules/node/content_types.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index df9884724..dc4b98bb6 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -71,6 +71,7 @@ function node_type_form(&$form_state, $type = NULL) {
'#default_value' => $type->name,
'#description' => t('The human-readable name of this content type. This text will be displayed as part of the list on the <em>add new content</em> page. It is recommended that this name begin with a capital letter and contain only letters, numbers, and <strong>spaces</strong>. This name must be unique.'),
'#required' => TRUE,
+ '#size' => 30,
'#field_suffix' => ' <small id="node-type-name-suffix">&nbsp;</small>',
);