render peer public key in form
This commit is contained in:
parent
7720ea49ac
commit
271665100a
|
@ -38,7 +38,11 @@
|
|||
{% endif %}
|
||||
<form class="flex-container" action="/subscribe" method="post">
|
||||
<label for="public_key">Public Key</label>
|
||||
{% if selected_peer %}
|
||||
<input type="text" id="public_key" name="public_key" maxlength=53 value={{ selected_peer }}>
|
||||
{% else %}
|
||||
<input type="text" id="public_key" name="public_key" maxlength=53>
|
||||
{% endif %}
|
||||
<input type="submit" value="Subscribe">
|
||||
<input type="submit" value="Unsubscribe" formaction="/unsubscribe">
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue