ui: Fix prepopulated new offer coin from after error

This commit is contained in:
tecnovert 2022-12-08 16:22:34 +02:00
parent 7101a5d1ee
commit 31aaacf4e1
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
3 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
name = "basicswap"
__version__ = "0.11.52"
__version__ = "0.11.53"

View File

@ -162,7 +162,7 @@
<select is="ms-dropdown" class="pl-10 appearance-none pr-10 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5" id="coin_from" name="coin_from" onchange="set_rate('coin_from');">
<option value="-1">Select coin you send</option>
{% for c in coins_from %}
<option{% if data.coin_to==c[0] %} selected{% endif %} value="{{ c[0] }}" data-image="/static/images/coins/{{ c[1]|replace(" ", "-") }}-20.png">{{ c[1] }}</option>
<option{% if data.coin_from==c[0] %} selected{% endif %} value="{{ c[0] }}" data-image="/static/images/coins/{{ c[1]|replace(" ", "-") }}-20.png">{{ c[1] }}</option>
{% endfor %}
</select>
</div>