Преглед изворни кода

fix image upload field style

checktheroads пре 5 година
родитељ
комит
d164ccb6c7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      netbox/templates/utilities/render_field.html

+ 1 - 1
netbox/templates/utilities/render_field.html

@@ -69,7 +69,7 @@
         </ul>
     </div>
 </div>
-{% elif field|widget_type == 'fileinput' %}
+{% elif field|widget_type == 'fileinput' or field|widget_type == 'clearablefileinput' %}
 <div class="input-group mb-3">
     <input
         class="form-control"