added daterange-picker and localized date-inputs (#540)
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user