From bb297eda0cee863568e9ebf28101f252c58d1cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jer=C3=B4me=20Bakker?= Date: Tue, 18 Jul 2023 17:11:56 +0200 Subject: [PATCH] fixed: buttons have a discernible text --- views/default/forms/widget_manager/widget_page.php | 2 +- views/default/forms/widgets/save.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);