Skip to content

Commit 2051d48

Browse files
Updated baseinput.html
Co-authored-by: Jonathan Grahl <[email protected]>
1 parent dd3f497 commit 2051d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crispy_tailwind/templates/tailwind/layout/baseinput.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name="{% if input.name|wordcount > 1 %}{{ input.name|slugify }}{% else %}{{ input.name }}{% endif %}"
33
value="{{ input.value }}"
44
{% if input.input_type != "hidden" %}
5-
class="{{ input.field_classes }}"
5+
class="{{ input.field_classes }} bg-white focus:outline-none focus:shadow-outline border border-gray-300 rounded-lg py-2 px-4 block w-full appearance-none leading-normal"
66
id="{% if input.id %}{{ input.id }}{% else %}{{ input.input_type }}-id-{{ input.name|slugify }}{% endif %}"
77
{% endif %}
88
{{ input.flat_attrs|safe }}

0 commit comments

Comments
 (0)