mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #34616 -- Corrected label examples in 5.0 release notes.
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							91be6e1818
						
					
				
				
					commit
					24d56e21c3
				
			| @@ -59,7 +59,7 @@ For example, the template below: | ||||
|     <form> | ||||
|     ... | ||||
|     <div> | ||||
|       {{ form.name.label }} | ||||
|       {{ form.name.label_tag }} | ||||
|       {% if form.name.help_text %} | ||||
|         <div class="helptext">{{ form.name.help_text|safe }}</div> | ||||
|       {% endif %} | ||||
| @@ -67,7 +67,7 @@ For example, the template below: | ||||
|       {{ form.name }} | ||||
|       <div class="row"> | ||||
|         <div class="col"> | ||||
|           {{ form.email.label }} | ||||
|           {{ form.email.label_tag }} | ||||
|           {% if form.email.help_text %} | ||||
|             <div class="helptext">{{ form.email.help_text|safe }}</div> | ||||
|           {% endif %} | ||||
| @@ -75,7 +75,7 @@ For example, the template below: | ||||
|           {{ form.email }} | ||||
|         </div> | ||||
|         <div class="col"> | ||||
|           {{ form.password.label }} | ||||
|           {{ form.password.label_tag }} | ||||
|           {% if form.password.help_text %} | ||||
|             <div class="helptext">{{ form.password.help_text|safe }}</div> | ||||
|           {% endif %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user