You are here

function theme_flag_actions_add_form in Flag 5

Same name and namespace in other branches
  1. 6.2 flag_actions.module \theme_flag_actions_add_form()
  2. 6 flag_actions.module \theme_flag_actions_add_form()
  3. 7.3 flag_actions.module \theme_flag_actions_add_form()
  4. 7.2 flag_actions.module \theme_flag_actions_add_form()

File

./flag_actions.module, line 290
Actions support for the Flag module.

Code

function theme_flag_actions_add_form($form) {
  $fieldset = array(
    '#type' => 'fieldset',
    '#title' => t('Add a new flag action'),
    '#children' => '<div class="container-inline">' . drupal_render($form['flag']) . drupal_render($form['submit']) . '</div>',
  );
  return drupal_render($fieldset) . drupal_render($form);
}