mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
10 lines
380 B
HTML
10 lines
380 B
HTML
{% set forex = load_data(path=path) %}
|
|
{% set currencies = [ "USD", "AUD", "GBP", "EUR", "RUB", "CAD", "INR", "SEK", "BRL", "JPY", "PLN", "KRW", "CHF", "HKD" ] %}
|
|
<label>Currency:
|
|
<select id="forex">
|
|
{% for ccy in currencies | sort %}
|
|
{% set rate = forex[ccy] %}
|
|
<option value="{{ ccy }}" data-price="{{ rate }}">{{ ccy }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</label>
|