fix css for form documents into data_wipe html
This commit is contained in:
parent
1ed5d394c5
commit
f2d6c198cc
|
@ -26,6 +26,28 @@
|
||||||
{{ field }}
|
{{ field }}
|
||||||
{% elif field == form_new_datawipe.type %}
|
{% elif field == form_new_datawipe.type %}
|
||||||
{{ field }}
|
{{ field }}
|
||||||
|
{% elif field == form_new_datawipe.document %}
|
||||||
|
{% for _field in field %}
|
||||||
|
<div class="col-12">
|
||||||
|
{{ _field.label(class_="form-label") }}
|
||||||
|
{% if _field == field.success %}
|
||||||
|
<div class="form-check form-switch">
|
||||||
|
{{ _field(class_="form-check-input") }}
|
||||||
|
<small class="text-muted">{{ _field.description }}</small>
|
||||||
|
</div>
|
||||||
|
{% else %}
|
||||||
|
{{ _field(class_="form-control") }}
|
||||||
|
<small class="text-muted">{{ _field.description }}</small>
|
||||||
|
{% endif %}
|
||||||
|
{% if _field.errors %}
|
||||||
|
<p class="text-danger">
|
||||||
|
{% for error in _field.errors %}
|
||||||
|
{{ error }}<br/>
|
||||||
|
{% endfor %}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
{{ field.label(class_="form-label") }}
|
{{ field.label(class_="form-label") }}
|
||||||
|
|
Reference in New Issue