Skip to:
The permissions widget concatenates the role name and permission name to use as for and id attributes. However, these attributes are not allowed to contain spaces, so when a role name contains spaces, invalid markup is produced, e.g.:
<label for="Studentasn.receive.notifications" class="skip">Studentasn.receive.notifications</label><input type="checkbox" name="Studentasn.receive.notifications" id="Studentasn.receive.notifications" value="Studentasn.receive.notifications" />
The permissions widget concatenates the role name and permission name to use as for and id attributes. However, these attributes are not allowed to contain spaces, so when a role name contains spaces, invalid markup is produced, e.g.:
<label for="Studentasn.receive.notifications" class="skip">Studentasn.receive.notifications</label>
<input type="checkbox" name="Studentasn.receive.notifications" id="Studentasn.receive.notifications" value="Studentasn.receive.notifications" />