Changes between Initial Version and Version 2 of Ticket #31175
- Timestamp:
- Jan 17, 2020, 6:05:51 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31175
- Property Type Uncategorized → Cleanup/optimization
- Property Resolution → wontfix
- Property Status new → closed
- Property Summary Extra spaces in textarea widget template → Remove newline in Textarea widget.
- Property Version 3.0 → master
-
Ticket #31175 – Description
initial v2 1 The template of textarea widget has some extra spaces that are added direct ily inside the textarea when its rendering on the browser.1 The template of textarea widget has some extra spaces that are added directly inside the textarea when its rendering on the browser. 2 2 https://github.com/django/django/blob/master/django/forms/templates/django/forms/widgets/textarea.html 3 3 … … 7 7 }}} 8 8 9 The p orposal is to change that to this (only one line, instead of two):9 The proposal is to change that to this (only one line, instead of two): 10 10 {{{ 11 11 <textarea name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>{% if widget.value %}{{ widget.value }}{% endif %}</textarea>