2
0
Эх сурвалжийг харах

Fix templating issue in datetime.html (#607)

Jeremy Childers 1 жил өмнө
parent
commit
df2c3b16e5

+ 1 - 1
coderedcms/templates/coderedcms/formfields/datetime.html

@@ -1,4 +1,4 @@
-<input type="datetime-local" name="{{ widget.name }}" {% include "django/forms/widgets/attrs.html" %} {% if widget.value !=None %}value="{{ widget.value|stringformat:'s' }}"{% endif %}>
+<input type="datetime-local" name="{{ widget.name }}" {% include "django/forms/widgets/attrs.html" %} {% if widget.value != None %}value="{{ widget.value|stringformat:'s' }}"{% endif %}>
 <noscript>
   <small class="form-text text-muted">Format mm/dd/yyyy 4:00 PM</small>
 </noscript>

+ 1 - 1
docs/releases/v3.0.0.rst

@@ -17,7 +17,7 @@ New features
 
   * Custom User, Image, and Document models by default.
 
-  * ``ruff`` linter and formater pre-configured.
+  * ``ruff`` linter and formatter pre-configured.
 
   * ``pytest`` pre-configured.