Commit 01f1c3a1 by Peter Pinch

Merge pull request #10478 from mitocw/enhancement/aq/disable_auto_enrol_ccx

Disabled auto enroll in ccx coach's enrollment tab
parents 5bd6e829 1f60e969
......@@ -420,7 +420,7 @@ def ccx_invite(request, course, ccx=None):
action = request.POST.get('enrollment-button')
identifiers_raw = request.POST.get('student-ids')
identifiers = _split_input_list(identifiers_raw)
auto_enroll = True if 'auto-enroll' in request.POST else False
auto_enroll = True
email_students = True if 'email-students' in request.POST else False
for identifier in identifiers:
user = None
......
......@@ -13,7 +13,7 @@
<div class="enroll-option">
<input type="checkbox" name="auto-enroll" id="auto-enroll" value="Auto-Enroll" checked="yes" aria-describedby="auto-enroll-helper">
<input type="checkbox" name="auto-enroll" id="auto-enroll" value="Auto-Enroll" checked="yes" aria-describedby="auto-enroll-helper" disabled>
<label style="display:inline" for="auto-enroll">${_("Auto Enroll")}</label>
<div class="hint auto-enroll-hint">
<span class="hint-caret"></span>
......
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