| Línea 81... |
Línea 81... |
| 81 |
$image = $OUTPUT->pix_icon('req', get_string('requiredelement', 'form'));
|
81 |
$image = $OUTPUT->pix_icon('req', get_string('requiredelement', 'form'));
|
| 82 |
$str .= html_writer::div($image, 'inline-req');
|
82 |
$str .= html_writer::div($image, 'inline-req');
|
| 83 |
}
|
83 |
}
|
| 84 |
$str .= '</label>';
|
84 |
$str .= '</label>';
|
| 85 |
$str .= html_writer::select($options, 'field_'.$this->field->id, $content, array('' => get_string('menuchoose', 'data')),
|
85 |
$str .= html_writer::select($options, 'field_'.$this->field->id, $content, array('' => get_string('menuchoose', 'data')),
|
| 86 |
array('id' => 'field_'.$this->field->id, 'class' => 'mod-data-input custom-select'));
|
86 |
['id' => 'field_'.$this->field->id, 'class' => 'mod-data-input form-select']);
|
| Línea 87... |
Línea 87... |
| 87 |
|
87 |
|
| Línea 88... |
Línea 88... |
| 88 |
$str .= '</div>';
|
88 |
$str .= '</div>';
|
| 89 |
|
89 |
|
| Línea 123... |
Línea 123... |
| 123 |
}
|
123 |
}
|
| Línea 124... |
Línea 124... |
| 124 |
|
124 |
|
| 125 |
$return = html_writer::label(get_string('fieldtypelabel', "datafield_" . $this->type),
|
125 |
$return = html_writer::label(get_string('fieldtypelabel', "datafield_" . $this->type),
|
| 126 |
'menuf_' . $this->field->id, false, array('class' => 'accesshide'));
|
126 |
'menuf_' . $this->field->id, false, array('class' => 'accesshide'));
|
| 127 |
$return .= html_writer::select($options, 'f_'.$this->field->id, $content, array('' => get_string('menuchoose', 'data')),
|
127 |
$return .= html_writer::select($options, 'f_'.$this->field->id, $content, array('' => get_string('menuchoose', 'data')),
|
| 128 |
array('class' => 'custom-select'));
|
128 |
['class' => 'form-select']);
|
| 129 |
return $return;
|
129 |
return $return;
|
| Línea 130... |
Línea 130... |
| 130 |
}
|
130 |
}
|
| 131 |
|
131 |
|