10 lines
335 B
HTML
10 lines
335 B
HTML
<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 }}
|
|
/>
|