put button in fieldset
This commit is contained in:
@@ -341,14 +341,14 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (!isset($form_state['input']['email-type'])) {
|
if (!isset($form_state['input']['email-type'])) {
|
||||||
$form['submit'] = array(
|
$form['email-definition']['submit'] = array(
|
||||||
'#type' => 'submit',
|
'#type' => 'submit',
|
||||||
'#value' => t('Save'),
|
'#value' => t('Save'),
|
||||||
'#disabled' => TRUE,
|
'#disabled' => TRUE,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$form['submit'] = array(
|
$form['email-definition']['submit'] = array(
|
||||||
'#type' => 'submit',
|
'#type' => 'submit',
|
||||||
'#value' => t('Save'),
|
'#value' => t('Save'),
|
||||||
'#disabled' => FALSE,
|
'#disabled' => FALSE,
|
||||||
|
Reference in New Issue
Block a user