Commit 2ff7744e authored by Daniel W Bond's avatar Daniel W Bond

added required name values for intermediate form; moved input tags into the actual form

parent f09c84ec
......@@ -3,21 +3,21 @@
{% block content %}
<form action="" method="post">
{% csrf_token %}
<label>Schedule</label>
<select>
<select name="schedule">
{% for schedule in schedules %}
<option>{{ schedule }}</option>
<option value={{ schedule.pk }} >{{ schedule }}</option>
{% endfor %}
</select>
<p>Assign this schedule to all of these facilities?</p>
<p>Assign this as the main schedule for all of these facilities?</p>
<ul>
{% for facility in facilities %}
<li>{{ facility.facility_name }}</li>
<input type="hidden" name="_selected_action" value="{{ facility.pk }}" />
{% endfor %}
</ul>
<input type="hidden" name="action" value="assign_bulk_schedules" />
<input type="submit" name="bulk_schedule" value="Yes, I'm sure" />
</form>
<input type="submit" value="Yes, I'm sure">
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment