mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-82008 backup: Format 'Continue' and 'Cancel' button to have a margin
This commit is contained in:
parent
ad7fc69c25
commit
b01fea1afa
@ -522,7 +522,7 @@ class core_backup_renderer extends plugin_renderer_base {
|
||||
public function substage_buttons($haserrors) {
|
||||
$output = html_writer::start_tag('div', array('continuebutton'));
|
||||
if (!$haserrors) {
|
||||
$attrs = array('type' => 'submit', 'value' => get_string('continue'), 'class' => 'btn btn-primary');
|
||||
$attrs = ['type' => 'submit', 'value' => get_string('continue'), 'class' => 'btn btn-primary mr-1'];
|
||||
$output .= html_writer::empty_tag('input', $attrs);
|
||||
}
|
||||
$attrs = array('type' => 'submit', 'name' => 'cancel', 'value' => get_string('cancel'), 'class' => 'btn btn-secondary');
|
||||
|
Loading…
x
Reference in New Issue
Block a user