mirror of
				https://github.com/django/django.git
				synced 2025-10-31 03:54:51 +00:00 
			
		
		
		
	Replaced input by textarea in forms docs
This commit is contained in:
		
							parent
							
								
									3a46399543
								
							
						
					
					
						commit
						5066fda34d
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -417,9 +417,9 @@ type="text">``. | ||||||
| 
 | 
 | ||||||
| In most cases, the field will have a sensible default widget. For example, by | In most cases, the field will have a sensible default widget. For example, by | ||||||
| default, a :class:`CharField` will have a :class:`TextInput` widget, that | default, a :class:`CharField` will have a :class:`TextInput` widget, that | ||||||
| produces an ``<input type="text">`` in the HTML. If you needed | produces an ``<input type="text">`` in the HTML. If you needed ``<textarea>`` | ||||||
| ``<input type="textarea">`` instead, you'd specify the appropriate widget when | instead, you'd specify the appropriate widget when defining your form field, | ||||||
| defining your form field, as we have done for the ``message`` field. | as we have done for the ``message`` field. | ||||||
| 
 | 
 | ||||||
| Field data | Field data | ||||||
| ^^^^^^^^^^ | ^^^^^^^^^^ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Claude Paroz
						Claude Paroz