MDL-82008 backup: Format 'Continue' and 'Cancel' button to have a margin

This commit is contained in:
Luca Bösch 2024-05-24 18:11:13 +02:00
parent ad7fc69c25
commit b01fea1afa

View File

@ -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');