diff --git a/views/default/forms/widget_manager/widget_page.php b/views/default/forms/widget_manager/widget_page.php index 9cbc361..1453c4d 100644 --- a/views/default/forms/widget_manager/widget_page.php +++ b/views/default/forms/widget_manager/widget_page.php @@ -54,7 +54,7 @@ $footer = elgg_view_field([ '#type' => 'submit', - 'value' => $entity ? elgg_echo('update') : elgg_echo('save'), + 'text' => $entity ? elgg_echo('update') : elgg_echo('save'), ]); elgg_set_form_footer($footer); diff --git a/views/default/forms/widgets/save.php b/views/default/forms/widgets/save.php index c83afa0..e363e65 100644 --- a/views/default/forms/widgets/save.php +++ b/views/default/forms/widgets/save.php @@ -73,7 +73,7 @@ $footer = elgg_view_field([ '#type' => 'submit', - 'value' => elgg_echo('save'), + 'text' => elgg_echo('save'), ]); elgg_set_form_footer($footer);