pdnew/themes/default/templates/form/field/float.html

25 lines
693 B
HTML

{% extends 'default/templates/form/field/field.html' %}
{% block field %}
<input
{% if content.id %}
id="{{ content.id }}"
{% endif %}
{% if not content.valid %}
class="invalid"
{% endif %}
type="{{ content.input_type }}"
name="{{ content.name_qualified }}"
{% if not content.value is none %}
value="{{ content.html_value }}"
{% endif %}
{% if not content.min is none %}
min="{{ content.min }}"
{% endif %}
{% if not content.max is none %}
max="{{ content.max }}"
{% endif %}
step="{{ content.step }}"
/>
{% endblock %}