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 dd3f497 commit 2051d48Copy full SHA for 2051d48
crispy_tailwind/templates/tailwind/layout/baseinput.html
@@ -2,7 +2,7 @@
2
name="{% if input.name|wordcount > 1 %}{{ input.name|slugify }}{% else %}{{ input.name }}{% endif %}"
3
value="{{ input.value }}"
4
{% if input.input_type != "hidden" %}
5
- class="{{ input.field_classes }}"
+ 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"
6
id="{% if input.id %}{{ input.id }}{% else %}{{ input.input_type }}-id-{{ input.name|slugify }}{% endif %}"
7
{% endif %}
8
{{ input.flat_attrs|safe }}
0 commit comments