Línea 29... |
Línea 29... |
29 |
this.groupings = groupings;
|
29 |
this.groupings = groupings;
|
30 |
};
|
30 |
};
|
Línea 31... |
Línea 31... |
31 |
|
31 |
|
32 |
M.availability_grouping.form.getNode = function(json) {
|
32 |
M.availability_grouping.form.getNode = function(json) {
|
33 |
// Create HTML structure.
|
33 |
// Create HTML structure.
|
34 |
var html = '<label><span class="pr-3">' + M.util.get_string('title', 'availability_grouping') + '</span> ' +
|
34 |
var html = '<label><span class="pe-3">' + M.util.get_string('title', 'availability_grouping') + '</span> ' +
|
35 |
'<span class="availability-group">' +
|
35 |
'<span class="availability-group">' +
|
36 |
'<select name="id" class="custom-select">' +
|
36 |
'<select name="id" class="form-select">' +
|
37 |
'<option value="choose">' + M.util.get_string('choosedots', 'moodle') + '</option>';
|
37 |
'<option value="choose">' + M.util.get_string('choosedots', 'moodle') + '</option>';
|
38 |
for (var i = 0; i < this.groupings.length; i++) {
|
38 |
for (var i = 0; i < this.groupings.length; i++) {
|
39 |
var grouping = this.groupings[i];
|
39 |
var grouping = this.groupings[i];
|
40 |
// String has already been escaped using format_string.
|
40 |
// String has already been escaped using format_string.
|