miniBase/web/minibase/templates/form/dateField.html

7 lines
274 B

{% if item.type in ['DateField', 'DateTimeField'] %}
<br>
{{ item.label(class=theme.form.date_label_class, style=theme.form.date_label_style) }}
<br>
{{ item(class=theme.form.date_class, style=theme.form.date_style, type=theme.form.date_type) }}
{% endif %}