We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8771ac4 commit 3dcca69Copy full SHA for 3dcca69
1 file changed
hypha/templates/django/forms/widgets/input.html
@@ -1,5 +1,5 @@
1
<input
2
- class="validator {% if widget.type == 'text' or widget.type == 'email' or widget.type == 'password' %}input{% endif %}{% if widget.type == 'checkbox' %}checkbox{% endif %}{% if widget.type == 'radio' %}radio{% endif %}"
+ class="validator {% if widget.type == 'text' or widget.type == 'time' or widget.type == 'email' or widget.type == 'password' or widget.type == 'url' or widget.type == 'number' %}input{% endif %}{% if widget.type == 'checkbox' %}checkbox{% endif %}{% if widget.type == 'radio' %}radio{% endif %}"
3
type="{{ widget.type }}"
4
name="{{ widget.name }}"{% if widget.value != None %}
5
value="{{ widget.value|stringformat:'s' }}"{% endif %}{% include "django/forms/widgets/attrs.html" %}
0 commit comments