Don't wrap buttons in network management

This commit is contained in:
2022-08-11 23:36:29 +01:00
parent 540120faf1
commit 3c199abc17

View File

@@ -55,6 +55,8 @@
</td>
<td>
<div class="buttons">
<div class="nowrap-parent">
<div class="nowrap-child">
{% if relay.enabled %}
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
@@ -78,6 +80,8 @@
</span>
</button>
{% endif %}
</div>
<div class="nowrap-child">
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-delete="{% url 'threshold_irc_network_relay_del' relay|index:'net' relay|index:'id' %}"
@@ -89,6 +93,8 @@
</span>
</button>
</div>
</div>
</div>
</td>
</tr>
{% endfor %}