mirror of https://github.com/snachodog/mybuddy.git
Remove extra space around datetime input fields.
This commit is contained in:
parent
119f4182e5
commit
a01b02b832
|
@ -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" }}
|
||||
|
|
Loading…
Reference in New Issue