Skip to content

Commit

Permalink
fixed: buttons have a discernible text
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jul 18, 2023
1 parent 70f8160 commit bb297ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/default/forms/widget_manager/widget_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
2 changes: 1 addition & 1 deletion views/default/forms/widgets/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

$footer = elgg_view_field([
'#type' => 'submit',
'value' => elgg_echo('save'),
'text' => elgg_echo('save'),
]);

elgg_set_form_footer($footer);

0 comments on commit bb297ed

Please sign in to comment.