forked from rDrama/rDrama
1
0
Fork 0

Audio post minor improvements.

- Make clear on post submission that users can upload audio.
 - Fix a missing closing </div> that was breaking submission.html
   on audio posts.
master
Snakes 2022-11-14 17:26:39 -05:00
parent 2b733e667e
commit 2d6cb193c0
Signed by: Snakes
GPG Key ID: E745A82778055C7E
2 changed files with 2 additions and 1 deletions

View File

@ -295,6 +295,7 @@
<div class="col">
<audio controls preload="none" src="{{p.realurl(v)}}"></audio>
</div>
</div>
{% endif %}
{{p.realbody(v) | safe}}

View File

@ -59,7 +59,7 @@
<input autocomplete="off" id="file-upload" accept="image/*, video/*, audio/*" type="file" name="file-url" {% if request.headers.get('cf-ipcountry')=="T1" %}disabled{% endif %} hidden>
</label>
<small class="form-text text-muted">Optional if you have text.</small>
<small class="form-text text-muted">You can upload images or videos.</small>
<small class="form-text text-muted">You can upload images, videos, or audio.</small>
</div>
</div>