try new method
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s

This commit is contained in:
pierre geeraert
2026-06-09 22:36:20 +01:00
parent 36755ccfb0
commit ccb69a43d2
@@ -266,6 +266,15 @@
</tr>
{% endfor %}
</select>
<button class="btn-price" style="margin-top: 10px; width: 100%;"
hx-post="{% url 'change_schedule' %}"
hx-include="#schedule-{{ forloop.counter }}"
hx-vals='{"server_name": "{{ server.1 }}"}'
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-target="#status-{{ forloop.counter }}"
hx-swap="innerHTML">
Update Schedule
</button>
</div>
</div>
{% endfor %}