This commit is contained in:
@@ -266,6 +266,13 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
|
<label for="schedule-{{ forloop.counter }}" style="display:block; font-size: 12px; margin-bottom: 5px;">Select Schedule:</label>
|
||||||
|
|
||||||
|
<select class="form-control" name="schedule_id" id="schedule-{{ forloop.counter }}">
|
||||||
|
{% for schedule in list_schedule %}
|
||||||
|
<option value="{{ schedule.id }}">{{ schedule.name }}</option>
|
||||||
|
{% endfor %}
|
||||||
|
</select>
|
||||||
<button class="btn-price" style="margin-top: 10px; width: 100%;"
|
<button class="btn-price" style="margin-top: 10px; width: 100%;"
|
||||||
hx-post="{% url 'change_schedule' %}"
|
hx-post="{% url 'change_schedule' %}"
|
||||||
hx-include="#schedule-{{ forloop.counter }}"
|
hx-include="#schedule-{{ forloop.counter }}"
|
||||||
@@ -276,6 +283,7 @@
|
|||||||
Update Schedule
|
Update Schedule
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="status-{{ forloop.counter }}" style="margin-top: 10px; font-size: 13px; font-weight: bold;"></div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user