master
Aevann1 2022-02-22 13:50:51 +02:00
parent 5871c6106e
commit 28662b76b8
1 changed files with 2 additions and 6 deletions

View File

@ -84,14 +84,10 @@
<label class='mt-4' for="title">Sub</label> <label class='mt-4' for="title">Sub</label>
<div class="input-group mb2"> <div class="input-group mb2">
<input list="subs" autocomplete="off" id='sub' class="form-control" form="submitform" name="sub" oninput="savetext()"> <input list="subs" autocomplete="off" id='sub' class="form-control" form="submitform" name="sub" oninput="savetext()" {% if sub %}value="{{sub.name}}"{% endif %}>
<datalist id="subs"> <datalist id="subs">
{% if SITE_NAME != 'Ruqqus' %}
<option value="none" selected></option>
{% endif %}
{% for s in SUBS %} {% for s in SUBS %}
<option value="{{s}}" {% if sub and sub.name == s %}selected{% endif %}></option> <option value="{{s}}"></option>
{% endfor %} {% endfor %}
</datalist> </datalist>
</div> </div>