added daterange-picker and localized date-inputs (#540)

This commit is contained in:
Kevin Papst
2019-02-03 21:24:30 +01:00
committed by GitHub
parent aae9183de6
commit 062735c9e3
37 changed files with 1058 additions and 264 deletions

View File

@@ -7,3 +7,15 @@
{% endif %}
{{ parent() }}
{% endblock form_label %}
{% block daterange_widget %}
<div class="input-group">
<div class="input-group-addon">
<i class="far fa-calendar-alt"></i>
</div>
{% set attr = attr|merge({'data-daterangepickerenable':'on'}) %}
{{ block('form_widget_simple') }}
</div>
{% endblock daterange_widget %}