mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-62823 filter: Save changes button should be styled
This commit is contained in:
parent
f61ee4e857
commit
e69ea0ea5d
1 changed files with 2 additions and 1 deletions
|
@ -202,7 +202,8 @@ if (empty($availablefilters)) {
|
|||
|
||||
echo html_writer::table($table);
|
||||
echo html_writer::start_tag('div', array('class'=>'buttons'));
|
||||
echo html_writer::empty_tag('input', array('type'=>'submit', 'name'=>'savechanges', 'value'=>get_string('savechanges')));
|
||||
$submitattr = ['type' => 'submit', 'name' => 'savechanges', 'value' => get_string('savechanges'), 'class' => 'btn btn-primary'];
|
||||
echo html_writer::empty_tag('input', $submitattr);
|
||||
echo html_writer::end_tag('div');
|
||||
echo html_writer::end_tag('div');
|
||||
echo html_writer::end_tag('form');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue