Adjust style of datetime picker trigger

This commit is contained in:
Christopher C. Wells 2021-09-03 20:42:37 -07:00
parent 0a74061a7a
commit 4b95ad48dc
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
</div> </div>
{% elif field|field_type == "datetimefield" or field|field_type == "datefield" %} {% elif field|field_type == "datetimefield" or field|field_type == "datefield" %}
<div class="input-group input-group-lg datetimepicker" id="datetimepicker_{{ field.name }}" data-target-input="nearest"> <div class="input-group input-group-lg datetimepicker" id="datetimepicker_{{ field.name }}" data-target-input="nearest">
<div class="input-group-prepend" data-target="#datetimepicker_{{ field.name }}" data-toggle="datetimepicker"> <div class="input-group-prepend px-2 rounded-left bg-dark" data-target="#datetimepicker_{{ field.name }}" data-toggle="datetimepicker">
<span class="input-group-text"><i class="icon-calendar"></i></span> <span class="input-group-text"><i class="icon-calendar"></i></span>
</div> </div>
{% if field.errors %} {% if field.errors %}