Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
2ff7744e
Commit
2ff7744e
authored
Mar 06, 2018
by
Daniel W Bond
Browse files
added required name values for intermediate form; moved input tags into the actual form
parent
f09c84ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
whats-open/api/templates/bulk_schedules_intermediate.html
View file @
2ff7744e
...
...
@@ -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 %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment