Disabled auto enroll in ccx enrollment tab

This commit is contained in:
Amir Qayyum Khan
2015-10-26 18:34:42 +05:00
parent cd3f8ded2b
commit 1f60e9696f
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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>