mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-18 12:52:47 +00:00
11 lines
380 B
HTML
11 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>
|