mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-31 11:36:18 +00:00
split create/manage peer in different views
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
{% include 'wireguard/peer_list/peer_data.html' %}
|
||||
</div>
|
||||
{% if add_peer_enabled %}
|
||||
<a class="btn btn-primary" href="/peer/manage/?instance={{ current_instance.uuid }}"
|
||||
<a class="btn btn-primary"
|
||||
href="{% url 'wireguard_peer_create' %}?instance={{ current_instance.uuid }}"
|
||||
onclick="return confirm('{% trans 'Are you sure you want to create a new peer?' %}');">
|
||||
{% trans 'Create Peer' %}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user