mirror of https://github.com/BOINC/boinc.git
Drupal: Added button styling to clear profile page.
This commit is contained in:
parent
0fcc0337cb
commit
e38debe68d
|
@ -509,6 +509,17 @@ function boinccore_form_alter(&$form, $form_state, $form_id) {
|
|||
'#weight' => 1010,
|
||||
);
|
||||
|
||||
break;
|
||||
case 'boinccore_delete_confirm':
|
||||
// Wrap action buttons for styling consistency
|
||||
$form['actions']['#prefix'] = '<ul class="form-control tab-list">';
|
||||
$form['actions']['#suffix'] = '</ul>';
|
||||
|
||||
$form['actions']['submit']['#prefix'] = '<li class="first tab">';
|
||||
$form['actions']['submit']['#suffix'] = '</li>';
|
||||
$form['actions']['cancel']['#prefix'] = '<li class="tab">';
|
||||
$form['actions']['cancel']['#suffix'] = '</li>';
|
||||
dpm($form, 'form');
|
||||
break;
|
||||
default:
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue