Remove extra space around datetime input fields.

This commit is contained in:
Christopher Charbonneau Wells 2018-02-03 18:39:35 -05:00
parent 119f4182e5
commit a01b02b832
1 changed files with 0 additions and 2 deletions

View File

@ -16,7 +16,6 @@
<label for="id_{{ field.name }}" class="custom-control-label">{{ field.label }}</label>
</div>
{% elif field|field_type == "datetimefield" or field|field_type == "datefield" %}
<div class="form-group">
<div class="input-group date" id="datetimepicker_{{ field.name }}" data-target-input="nearest">
<div class="input-group-prepend" data-target="#datetimepicker_{{ field.name }}" data-toggle="datetimepicker">
<span class="input-group-text"><i class="fa fa-calendar"></i></span>
@ -27,7 +26,6 @@
{{ field|add_class:"form-control" }}
{% endif %}
</div>
</div>
{% else %}
{% if field.errors %}
{{ field|add_class:"form-control is-invalid" }}