Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Small ui change
Browse files Browse the repository at this point in the history
  • Loading branch information
stijndm committed Jun 3, 2010
1 parent 1b01f62 commit 20328dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions nice_dash.pages.inc
Expand Up @@ -317,10 +317,14 @@ function nice_dash_widget_settings_form(&$form_state, $wid = NULL){
'#default_value' => $block_default,
);

$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Add widget'),
);
$form['submit']['#type'] = 'submit';

if ($wid) {
$form['submit']['#value'] = t('Save changes');
}
else {
$form['submit']['#value'] = t('Add widget');
}

$form['wid'] = array('#type' => 'value', '#value' => $wid);
$form['#redirect'] = 'admin/dashboard/configure';
Expand Down

0 comments on commit 20328dc

Please sign in to comment.