UI: fixes based on Actionable Feedback from devtalk and frontend changes #40
@ -13,8 +13,8 @@ function appendImageUploadForm() {
|
|||||||
<input type="file" name="${formsetPrefix}-${i}-source"
|
<input type="file" name="${formsetPrefix}-${i}-source"
|
||||||
accept="image/*" class="form-control"
|
accept="image/*" class="form-control"
|
||||||
id="id_${formsetPrefix}-${i}-source">
|
id="id_${formsetPrefix}-${i}-source">
|
||||||
<button class="btn btn-link js-btn-reset-img-upload-form mt-1"><i class="i-refresh"></i> Reset</button>
|
<button class="btn btn-link js-btn-reset-img-upload-form mt-1 pl-0 pr-2"><i class="i-refresh"></i> Reset</button>
|
||||||
<button class="btn btn-link js-btn-remove-img-upload-form mt-1"><i class="i-trash"></i> Remove</button>
|
<button class="btn btn-link js-btn-remove-img-upload-form mt-1 px-2"><i class="i-trash"></i> Remove</button>
|
||||||
<div class="invalid-feedback"></div>
|
<div class="invalid-feedback"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{% include "common/components/field.html" with field=inlineform.source label='File' %}
|
{% include "common/components/field.html" with field=inlineform.source label='File' %}
|
||||||
<button class="btn btn-link js-btn-reset-img-upload-form mt-1"><i class="i-refresh"></i> Reset</button>
|
<button class="btn btn-link js-btn-reset-img-upload-form mt-1 pl-0 pr-2"><i class="i-refresh"></i> Reset</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{% include "common/components/field.html" with field=inlineform.caption label='Caption' %}
|
{% include "common/components/field.html" with field=inlineform.caption label='Caption' %}
|
||||||
|
Loading…
Reference in New Issue
Block a user