summaryrefslogtreecommitdiffstats
path: root/templates/w3/layout/baseinput.html
blob: ffde6445286d3cf50aebe52d0ebacbdefc63c3bc (plain) (blame)
1
2
3
4
5
6
7
8
9
<input type="{{ input.input_type }}"
    name="{% if input.name|wordcount > 1 %}{{ input.name|slugify }}{% else %}{{ input.name }}{% endif %}"
    value="{{ input.value }}"
    {% if input.input_type != "hidden" %}
        class="{{ input.field_classes }}"
        id="{{ input.id }}"
    {% endif %}
    {{ input.flat_attrs }}
    />