This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user