Commit 911cc267 authored by Devin Carlson's avatar Devin Carlson

Added classes to primary buttons.

parent bf1d441a
...@@ -111,6 +111,9 @@ function entity_embed_dialog_form($form, &$form_state, $filter_format, $embed_bu ...@@ -111,6 +111,9 @@ function entity_embed_dialog_form($form, &$form_state, $filter_format, $embed_bu
'#type' => 'actions', '#type' => 'actions',
); );
$form['actions']['save_modal'] = array( $form['actions']['save_modal'] = array(
'#attributes' => array(
'class' => array('button--primary'),
),
'#type' => 'submit', '#type' => 'submit',
'#value' => t('Next'), '#value' => t('Next'),
// No regular submit-handler. This form only works via JavaScript. // No regular submit-handler. This form only works via JavaScript.
...@@ -240,6 +243,9 @@ function entity_embed_dialog_form($form, &$form_state, $filter_format, $embed_bu ...@@ -240,6 +243,9 @@ function entity_embed_dialog_form($form, &$form_state, $filter_format, $embed_bu
), ),
); );
$form['actions']['save_modal'] = array( $form['actions']['save_modal'] = array(
'#attributes' => array(
'class' => array('button--primary'),
),
'#type' => 'submit', '#type' => 'submit',
'#value' => t('Embed'), '#value' => t('Embed'),
// No regular submit-handler. This form only works via JavaScript. // No regular submit-handler. This form only works via JavaScript.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment