forked from rDrama/rDrama
dfdfd
parent
aef244ec8a
commit
a62339e107
|
@ -322,14 +322,16 @@
|
|||
</div>
|
||||
|
||||
<div id="image-upload-block">
|
||||
<div><label class="mt-3">Image Upload</label></div>
|
||||
<div><label class="mt-3">Image Upload</label></div>
|
||||
|
||||
<label class="btn btn-secondary m-0" for="file-upload">
|
||||
<div id="filename-show">Select Image</div>
|
||||
<input id="file-upload" type="file" name="file" accept="image/*" onchange="document.getElementById('urlblock').classList.add('d-none');document.getElementById('filename-show').innerHTML='image';checkForRequired()" hidden>
|
||||
</label>
|
||||
|
||||
<small class="form-text text-muted">Images uploaded will be public. Optional if you have text.</small>
|
||||
<img id="image-preview" class="w-100 d-block">
|
||||
|
||||
<label class="btn btn-secondary m-0" for="file-upload">
|
||||
<div id="filename-show">Select Image</div>
|
||||
<input id="file-upload" type="file" name="file" accept="image/*" hidden>
|
||||
</label>
|
||||
|
||||
<small class="form-text text-muted">Images uploaded will be public. Optional if you have text.</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue