testing #9
@@ -266,6 +266,13 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</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%;"
|
||||
hx-post="{% url 'change_schedule' %}"
|
||||
hx-include="#schedule-{{ forloop.counter }}"
|
||||
@@ -276,6 +283,7 @@
|
||||
Update Schedule
|
||||
</button>
|
||||
</div>
|
||||
<div id="status-{{ forloop.counter }}" style="margin-top: 10px; font-size: 13px; font-weight: bold;"></div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user