mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-68148 user: remove the noscript tag
The submit button remains deactive if js is disabled. So having a noscript tag to output a submit button here does not make sense.
This commit is contained in:
parent
cf48026307
commit
8aecd8579e
@ -387,14 +387,12 @@ if ($bulkoperations) {
|
||||
'data-toggle' => 'action',
|
||||
'disabled' => empty($selectall)
|
||||
);
|
||||
echo html_writer::tag('div', html_writer::tag('label', get_string("withselectedusers"),
|
||||
array('for' => 'formactionid', 'class' => 'col-form-label d-inline')) .
|
||||
html_writer::select($displaylist, 'formaction', '', array('' => 'choosedots'), $selectactionparams));
|
||||
$label = html_writer::tag('label', get_string("withselectedusers"),
|
||||
['for' => 'formactionid', 'class' => 'col-form-label d-inline']);
|
||||
$select = html_writer::select($displaylist, 'formaction', '', ['' => 'choosedots'], $selectactionparams);
|
||||
echo html_writer::tag('div', $label . $select);
|
||||
|
||||
echo '<input type="hidden" name="id" value="'.$course->id.'" />';
|
||||
echo '<noscript style="display:inline">';
|
||||
echo '<div><input type="submit" value="'.get_string('ok').'" /></div>';
|
||||
echo '</noscript>';
|
||||
echo '<input type="hidden" name="id" value="' . $course->id . '" />';
|
||||
echo '</div></div></div>';
|
||||
echo '</form>';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user