autopeering/web/frontend/peer.html

13 lines
No EOL
357 B
HTML

{% extends 'base.html' %}
{% block content %}
<form action="peer" method="post">
<select name="node" id="node">
{% for node in config["nodes"] %}
<option value="{{node}}" {% if selected_node %}{% if selected_node == node %}selected{% endif %}{% endif %} >{{node}}</option>
{% endfor %}
</select>
</form>
{% endblock %}